Ready to get started?Download WordPress


phpMyAdmin install into subdirectory? (7 posts)

  1. adagiomarine
    Posted 9 years ago #

    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?


  2. 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.

  3. adagiomarine
    Posted 9 years ago #

    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.


  4. Before you do that, look into some more friendly hosts, like http://www.dreamhost.com

  5. TechGnome
    Posted 9 years ago #

    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?


  6. adagiomarine
    Posted 9 years ago #

    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.


  7. eetdcob
    Posted 9 years ago #

    "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/';


    $cfg['PmaAbsoluteUri'] = 'http://localhost/whereitreallyis/phpMyAdmin/';

Topic Closed

This topic has been closed to new replies.

About this Topic


No tags yet.