HowTo Fix: PhpMyAdmin Displays Blank Page After Logging In

Recently I published an article about Windows Vista Home Premium and the “problems” I was running into when installing my programs. Well, this time I run into another problem when I installed appserv-win32-2.6.0 . Everything seemed to work just fine, Apache was working well, but when I tried opening PhpMyAdmin for some reason it was displaying a blank page after I entered my login information

phpmyadmin-vista

.

The solution to this blank page problem is fairly easy. Simply modify this line in the phpmyadmin/config.inc.php

$cfg['Servers'][$i]['host']          = ‘localhost’;

to this:

$cfg['Servers'][$i]['host']          = ‘127.0.0.1′;

In the above code, you’re changing your name server to 127.0.0.1 in order to use TCP/IP connection. After this, you should be able to see your PhpMyAdmin page by opening in your browser the address http://127.0.0.1/PhpMyAdmin

Hope this helps!

Note: Whenever you specify “localhost” or “localhost:port” as server, the MySQL client library will override this and try to connect to a local socket (named pipe on Windows). If you want to use TCP/IP, use “127.0.0.1″ instead of “localhost”. If the MySQL client library tries to connect to the wrong local socket, you should set the correct path as Runtime Configuration in your PHP configuration and leave the server field blank.

Root: http://www.karinamyers.com


You can follow any responses to this entry through the RSS 2.0 feed. You can leave a response, or trackback from your own site.

AddThis Social Bookmark Button

4 Responses to “HowTo Fix: PhpMyAdmin Displays Blank Page After Logging In”

  1. Anonymous Says:

    it worked! thank you!

  2. Retail…

    What a wonderful read thanks for the insight loved it !…

  3. 2 days of search in the www and there you are !
    Thanks a lot !!

  4. man, you saved my nerves. i’ve been searching for this for 5 hours with no results… i’ll drink a beer on you tonight :)

Leave a Reply

Spam protection by WP Captcha-Free