• the phpMyAdmin docs imply that the files need to be a site/root (seekerblog.com/www in my case). That is also where my index.php for the production blog resides.

    Can I in fact install phpMyAdmin into a subdirectory?

    Alternative: is anyone using “MySQL Query Browser” (wintel, linux) for administration?

    Thanx,
    Steve

Viewing 6 replies - 1 through 6 (of 6 total)
  • 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.

    Thread Starter adagiomarine

    (@adagiomarine)

    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

    Thread Starter adagiomarine

    (@adagiomarine)

    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/’;

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘phpMyAdmin install into subdirectory?’ is closed to new replies.