Unable to configure phpmyadmin

I have hosted my website with linode using putty. I have also downloaded the phpmyadmin for managing database.Now i am trying to configure phpmyadmin. But command is not working.when i execute

"cd /srv/www/example.org/public_html"

command this giving me error

"-bash: cd: /srv/www/monjardeal.com/public_html: No such file or directory".

when i viewed srv folder under root this folder is empty. I followed the instructions of the following link for installing phpmyadmin.

https://www.linode.com/docs/databases/m … n-7-wheezy">https://www.linode.com/docs/databases/mysql/managing-mysql-with-phpmyadmin-on-debian-7-wheezy

Please help me configuring and setting up the phpmyadmin for my site.

6 Replies

I used PHPMyAdmin for sometime until I realized that a web based app with full access to the database is probably not a good security practice. I started using MySQL Workbench over SSH and made sure the external MySQL port was closed for added security.

Unfortunately, that's all the help I can offer. I was using Apache and PHPMyAdmin and it just worked on Ubuntu when I installed the packages.

@The Other Air Force:

I used PHPMyAdmin for sometime until I realized that a web based app with full access to the database is probably not a good security practice. I started using MySQL Workbench over SSH and made sure the external MySQL port was closed for added security.

Unfortunately, that's all the help I can offer. I was using Apache and PHPMyAdmin and it just worked on Ubuntu when I installed the packages.

This is my advice. When I used PHPmyAdmin, I had an IP whitelist in .htaccess on the directory the symlink was in. It can be tedious, but learning SQL and using the MySQL shell is best.

sudo nano /srv/www/monjardeal.com/public_html/phpmyadmin/.htaccess

order allow,deny

Allow from All

is the content of my .htaccess file. but still phpmyadmin is not opening in browser window. When i open 212.71.255.110/phpmyadmin link this redirects me to https://212.71.255.110/phpmyadmin/?coll … ral_ci&SID">https://212.71.255.110/phpmyadmin/?collationconnection=utf8general_ci&SID but nothing shows in broswer window.

@mpsews:

sudo nano /path/to/file/removed/phpmyadmin/.htaccess

order allow,deny

Allow from All

is the content of my .htaccess file. but still phpmyadmin is not opening in browser window. When i open 212.71.255.110/phpmyadmin link this redirects me to https://212.71.255.110/phpmyadmin/?coll … ral_ci&SID">https://212.71.255.110/phpmyadmin/?collationconnection=utf8general_ci&SID but nothing shows in broswer window.

I think it should be deny, then allow. It should be deny from all, then allow from IP addresses. The webserver should not allow everyone into PHPmyAdmin.

@mpsews:

When i open 212.71.255.110/phpmyadmin link this redirects me to https://212.71.255.110/phpmyadmin/?coll … ral_ci&SID">https://212.71.255.110/phpmyadmin/?collationconnection=utf8general_ci&SID but nothing shows in broswer window.

Try adding /index.php. Looks like you may not have Indexes set up in your web server:

http://212.71.255.110/phpmyadmin/index.php

Best Regards,

Dave

You should remove the actual file paths from your posts. It's not an actual vulnerability, but it can lead to exploitation of vulnerabilities.

Reply

Please enter an answer
Tips:

You can mention users to notify them: @username

You can use Markdown to format your question. For more examples see the Markdown Cheatsheet.

> I’m a blockquote.

I’m a blockquote.

[I'm a link] (https://www.google.com)

I'm a link

**I am bold** I am bold

*I am italicized* I am italicized

Community Code of Conduct