Jump to content

Recommended Posts

>:( When i try and load it on the web browser it comes up with:

 

 

Welcome to phpMyAdmin 2.10.3

 

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.

 

Error

MySQL said: 

 

#1045 - Access denied for user 'root'@'localhost' (using password: NO)

 

Idk what is causing this... there is no "config.inc.php ... cuz i used the other setup.

 

 

Link to comment
https://forums.phpfreaks.com/topic/63238-phpmyadmin-error/
Share on other sites

In that case phpMyAdmin is not reading your configuration you setup when you ran the PMA setup script. When you have finished the setup script a file is created in the scripts folder. You then have to move this file to the root of the phpMyAdmin folder.

 

Either that or you can just copy config.default.php from the libraries folder and place it in the root of the phpMyAdmin folder and then rename it to config.inc.php and edit that file manually. You'll only have to change a couple of lines.

Link to comment
https://forums.phpfreaks.com/topic/63238-phpmyadmin-error/#findComment-315177
Share on other sites

Yes ive done that and it comes up with this error when i try to load the phpmyadmin page

 

 

 

Welcome to phpMyAdmin 2.10.3

 

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.

 

Error

MySQL said: 

 

#1045 - Access denied for user 'root'@'localhost' (using password: NO)

 

 

 

Link to comment
https://forums.phpfreaks.com/topic/63238-phpmyadmin-error/#findComment-315265
Share on other sites

Looks like you have setup a password for the root user during the installation process for MySQL.

 

You'll have to provide the password you setup for the root user in order for phpMyAdmin to connect to mysql. You define the password for the root user through this line in the config.inc.php:

$cfg['Servers'][$i]['password'] = 'password here';

Link to comment
https://forums.phpfreaks.com/topic/63238-phpmyadmin-error/#findComment-315482
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.