Moderator
James Huff
(@macmanx)
Volunteer Moderator
Well, my MySQL databases have their own subdirectories, with phpmyadmin installed in the root. Ex: mysqldb.domain.com . As such, I can’t use “localhost” for the DB_HOST value in wp-config, but it keeps things nice and tidy.
macmanx – thanx. My hosting service stores the MySQL DBMS in a non-user accessible area. Thus their DBMS can only be accessed via SQL.
Just got a note from luxSCI support suggesting I pay them for an extra website-subdomain, where I could install at the root.
Steve
Moderator
James Huff
(@macmanx)
Volunteer Moderator
Before you do that, look into some more friendly hosts, like http://www.dreamhost.com
adagiomarine — I’ve got phpMyAdmin installed in sub dirs myself on several servers, and they all work jsut fine where they are at. This is the first I’ve ever heard of that it “had” to be in the root. To me that simply sounds most rediculous. Is there a link to this “dis”information?
Tg
Thanks for the confirmation!
>Is there a link to this “dis”information
No, as I said, the docs “imply” root. These are the first words of Quick Install:
Untar or unzip the distribution (be sure to unzip the subdirectories): tar -xzvf phpMyAdmin_x.x.x.tar.gz in your webserver’s document root.
I solved my problem another way, but using MySQL Query Browser to fix the table entries.
Cheers,Steve
“Can I in fact install phpMyAdmin into a subdirectory?”
Yes & it seems like a good idea (that is, burying phpMyAdmin further down). I’m seeing probes in my web logs aimed at the default installation.
You have to change this line in config.inc.php:
$cfg[‘PmaAbsoluteUri’] = ‘http://localhost/phpMyAdmin/’;
to
$cfg[‘PmaAbsoluteUri’] = ‘http://localhost/whereitreallyis/phpMyAdmin/’;