Title: phpMyAdmin install into subdirectory?
Last modified: August 18, 2016

---

# phpMyAdmin install into subdirectory?

 *  [adagiomarine](https://wordpress.org/support/users/adagiomarine/)
 * (@adagiomarine)
 * [21 years, 4 months ago](https://wordpress.org/support/topic/phpmyadmin-install-into-subdirectory/)
 * 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](https://wordpress.org/support/users/macmanx/)
 * (@macmanx)
 * [21 years, 4 months ago](https://wordpress.org/support/topic/phpmyadmin-install-into-subdirectory/#post-142580)
 * 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](https://wordpress.org/support/users/adagiomarine/)
 * (@adagiomarine)
 * [21 years, 4 months ago](https://wordpress.org/support/topic/phpmyadmin-install-into-subdirectory/#post-142585)
 * 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](https://wordpress.org/support/users/macmanx/)
 * (@macmanx)
 * [21 years, 4 months ago](https://wordpress.org/support/topic/phpmyadmin-install-into-subdirectory/#post-142591)
 * Before you do that, look into some more friendly hosts, like [http://www.dreamhost.com](http://www.dreamhost.com)
 *  [TechGnome](https://wordpress.org/support/users/techgnome/)
 * (@techgnome)
 * [21 years, 4 months ago](https://wordpress.org/support/topic/phpmyadmin-install-into-subdirectory/#post-142597)
 * 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](https://wordpress.org/support/users/adagiomarine/)
 * (@adagiomarine)
 * [21 years, 4 months ago](https://wordpress.org/support/topic/phpmyadmin-install-into-subdirectory/#post-142604)
 * 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
 *  [eetdcob](https://wordpress.org/support/users/eetdcob/)
 * (@eetdcob)
 * [21 years, 4 months ago](https://wordpress.org/support/topic/phpmyadmin-install-into-subdirectory/#post-142772)
 * “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/&#8217](http://localhost/phpMyAdmin/&#8217);;
 * to
 * $cfg[‘PmaAbsoluteUri’] = ‘[http://localhost/whereitreallyis/phpMyAdmin/&#8217](http://localhost/whereitreallyis/phpMyAdmin/&#8217);;

Viewing 6 replies - 1 through 6 (of 6 total)

The topic ‘phpMyAdmin install into subdirectory?’ is closed to new replies.

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 6 replies
 * 4 participants
 * Last reply from: [eetdcob](https://wordpress.org/support/users/eetdcob/)
 * Last activity: [21 years, 4 months ago](https://wordpress.org/support/topic/phpmyadmin-install-into-subdirectory/#post-142772)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
