Ready to get started?Download WordPress


Portable phpMyAdmin
[resolved] Worked the first time then it does not... (9 posts)

  1. shackep
    Posted 3 years ago #

    I used this and it worked great. Next time I logged in I got this error.

    Error: #2005 - Unknown MySQL server host 'WP_HOST' (1)

    I have not changed anything and it does not seem to want to let me in.
    Any advice?


  2. conservativereader
    Posted 3 years ago #

    I am having the same issue. This plugin has not worked since day one, and I always get the error "Error: #2005 - Unknown MySQL server host 'WP_HOST' (1)" even though it displays the correct server name elsewhere on the screen.

  3. RobIrizarry
    Posted 3 years ago #

    Also experiencing this error although right from the beginning. Looking for guidance...

  4. RobIrizarry
    Posted 3 years ago #

    Issue resolved, for me at least, by removing the following block from .htaccess which had been introduced to clean up URLs. This same block was preventing Adminer and BackWPUp from working.

    #Redirect parameter filled URLs to clean ones
    <IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteCond %{QUERY_STRING} .
    RewriteCond %{QUERY_STRING} !^(s|p)=.*
    RewriteCond %{REQUEST_URI} !.*wp-admin.*
    RewriteRule ^(.*)$ /$1? [R=301,L]
  5. Ciprian
    Plugin Author

    Posted 3 years ago #

    Hey, thanks for your feedback. It seems that no redirection should exist for wp-admin, such as the plugin Login Stealth is doing. I'll check that.

  6. ronniead
    Posted 3 years ago #

    I'm having the same error. I don't have time to really investigate the problem.....it used to work fine.

    #2005 - Unknown MySQL server host 'WP_HOST' (1)

    Seems to be a potential fix here:

    But again I don't have time to tinker and debug this.

    Any chances of an update coming? Love this plugin...!!!!

  7. Ciprian
    Plugin Author

    Posted 3 years ago #

    An update is coming soon. Thanks for the heads up with the fix. It should fix problems with 'localhost' users. What about the others? I'll have to read the WP_HOST documentation more thoroughly.

  8. itsbarry
    Posted 2 years ago #


    I am not having trouble on my localhost install.

    It's broken on my dreamhost install. I tried changing WP_HOST to the actual mysql hostname but it only threw different errors.

    I have used this plugin without any problems for quite a while. Ciprian I hope you can fix it, it's quite useful and I appreciate you making it available.


  9. iceq
    Posted 2 years ago #

    I am still having the error message "#2005 - Unknown MySQL server host 'WP_HOST' (1) " , although I did change WP_HOST to localhost. What could it be ?

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic