Connect with us

Portable PHPMyAdmin – #2005 – UNKNOWN MYSQL SERVER HOST ‘WP_HOST’

coding

Portable PHPMyAdmin – #2005 – UNKNOWN MYSQL SERVER HOST ‘WP_HOST’

I am working with WordPress and sometimes it may happen that client will not provide MySql access and we need a database to setup in our local system to work. I was in same situation and to move with that, I have installed Portable PHPMyAdmin Plugin in WordPress site. Once I installed and activate the plugin, I saw Portable PMA link in navigation. I clicked on it and it ask me for Username and Password of MySql.

I got Username and Password from wp-config.php file and when I enter it, it shows me wired message.

#2005 – UNKNOWN MYSQL SERVER HOST ‘WP_HOST’

To resolve this, you just need to change the host name of mysql. You can change it from config file of portable phpmyadmin plugin. To change the host name, go to..
/wp-content/plugins/portable-phpmyadmin/wp-pma-mod/config.inc.php

Now go to line 51 and change the value to “localhost”.

I am sure this will solved your problem and you can now login to phpmyadmin.

I would be happy to help you if you face any problem. Comment below if you have any questions or you are getting any other issues.

#2005 – UNKNOWN MYSQL SERVER HOST ‘WP_HOST’, Portable PHPMyAdmin not working, Portable PHPMyAdmin Plugin Error, Portable PHPMyAdmin unknown mysql server host, Portable PHPMyAdmin unknown host wp_host

Continue Reading
Click to comment

Leave a Reply

Your email address will not be published. Required fields are marked *

More in coding

About Me:

Szabi Kisded

Hey there, I'm Szabi. At 30 years old, I quit my IT job and started my own business and became a full time WordPress plugin developer, blogger and stay-at-home dad. Here I'm documenting my journey earning an online (semi)passive income. Read more

Sign up for my newsletter and get the YouTube Caption Scraper WordPress plugin for free
(worth 29$)!

All My Plugins In A Bundle:

My AutoBlogging Plugins:

My Online Courses:

A Theme I Recommend:

Featured Posts:

To Top