Not getting my Welcome to phpMyAdmin screen

I am looking for an advice or a solution upon my unanswered question:- How to get to Welcome to phpMyAdmin screen?

I have installed the latest version of Apache, PHP, Perl and MySql so I tried to configure MySql but I only got like this: Index of /phpMyAdmin, not Welcome screen of phpMyAdmin.

Please advise me how to fix this. Thank you very much.

Do any of your php pages work?

Put the following in a text file and name it test.php


<?php
phpinfo();
?>

yes, this code was entered as index.php but i am unable to open phpMyAdmin. I have already tested php5,apache2 and peril except MySQL and found them alright.

index.php is not set as DirectoryIndex. Use /phpMyAdmin/index.php to open phpmyadmin or set index.php in httpd.conf.

i put index.php and phpMyAdmin folder in the htdocs folder.

No, I mean you must edit your httpd.conf file, it’s in the conf folder. Find a line that starts with DirectoryIndex, there are index.html and index.html.var listed by default. Add index.php too. This should do the job.

Oh man, I have already added index.php after index.html.var earlier. But I only see the phpinfo() after checking on browser: http://localhost/phpMyAdmin.

Re-upload index.php. It seems that it’s been edited and is not original phpMyAdmin script file.

Sorry pal, how to re upload index.php?

Well, reinstall the phpMyAdmin, you’ve probably messed it up while trying to run.

ok,thanks alot for your help. i will follow up in same way. :slight_smile:

I received the error message saying that Access denied for user ‘root’@‘localhost’ (using password NO).

phpMyAdmin tried to connect to the MySQL server, and the server rejected the connection. You should check the host, username and password in config.inc.php and make sure that they correspond to the information given by the administrator of the MySQL server.

How to fix this?

You must change the mysql server login details in config.inc.php.

What is the actual code for mysql server login details in config.inc.php? Is it the one -
<?php
$cfg[‘PmaAbsoluteUri’] = ‘http://localhost/phpMyAdmin/’;
$cfg[‘Servers’][$i][‘extension’] = ‘mysqli’;
$cfg[‘Servers’][$i][‘auth_type’] = ‘http’;
?>

I have mysql server login password.

Did you set username and password:

$cfg['Servers'][$i]['user'] = 'yourusername';
$cfg['Servers'][$i]['password'] = 'yourpassword'; 

Where can I set my username and password?

I owe all thanks to you here, especially kefeso. I read his post as he was in the same situation and he also found the solution by:


<?php
$i = 0;
$i++;
$cfg['PmaAbsoluteUri'] = 'http://localhost/phpMyAdmin/';
$cfg['Servers'][$i]['extension'] = 'mysqli';
$cfg['Servers'][$i]['auth_type'] = 'http';
?>

I followed his solution and finally manage to access to my phpMyAdmin now. :wink: