PDA

View Full Version : phpMyAdmin


kfriday
06-21-2005, 08:36 PM
I installed phpMyAdmin today, but when I go to www.example.com/pma/index.php, all I get is a blank screen. I have two MySQL databases created.

sheila
06-21-2005, 08:39 PM
You are replacing "example.com" with your actual domain, right? (Sorry, as a tech support person, I am required to ask that...)

Have you checked your PHP error logs in the CNC to see what error messages are being logged? This will often give a clue as to the problem...

kitchin
06-21-2005, 10:30 PM
Make sure you have changed these four lines in config.inc.php. For instance, if the second one is wrong, then the browser will hang with a blank screen. :ytcoffee:

// change all of these
$cfg['PmaAbsoluteUri'] = '';
$cfg['Servers'][$i]['host'] = 'localhost';
$cfg['Servers'][$i]['auth_type'] = 'config';
$cfg['Servers'][$i]['user'] = 'root';

Use the values suggested in http://www.aota.net/PHP_and_MySQL/phpmyadmin.php4
The correct server name for 'host' is in your CNC control panel, under MySQL. There is a temporary one if the domain is not yet at FutureQuest.

A few things have changed since that tutorial was written. In the latest version, phpMyAdmin 2.6.2-pl1:

1. The variable "$cfgServers[$i]" has been renamed "$cfg['Servers'][$i]".

2. If you use 'cookie' for auth_type, the you also have to fill in the line:
$cfg['blowfish_secret'] = '';

Arthur
06-22-2005, 06:24 AM
A few things have changed since that tutorial was written. Thanks for pointing out the changes, we'll be updating the tutorial soon.

Arthur