php? Posted August 3, 2007 Share Posted August 3, 2007 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. Quote Link to comment https://forums.phpfreaks.com/topic/63238-phpmyadmin-error/ Share on other sites More sharing options...
wildteen88 Posted August 3, 2007 Share Posted August 3, 2007 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. Quote Link to comment https://forums.phpfreaks.com/topic/63238-phpmyadmin-error/#findComment-315177 Share on other sites More sharing options...
php? Posted August 3, 2007 Author Share Posted August 3, 2007 Well after i created the "Config" folder, it had a file in it called "config.inc" .. i copied that into the main directory and then deleted the "config" folder like it said. Anything i did wrong? Quote Link to comment https://forums.phpfreaks.com/topic/63238-phpmyadmin-error/#findComment-315180 Share on other sites More sharing options...
php? Posted August 3, 2007 Author Share Posted August 3, 2007 ??????????!!!!!!!!!!!!!?????????? Quote Link to comment https://forums.phpfreaks.com/topic/63238-phpmyadmin-error/#findComment-315185 Share on other sites More sharing options...
php? Posted August 3, 2007 Author Share Posted August 3, 2007 File saved Configuration saved to file config/config.inc.php in phpMyAdmin top level directory, copy it to top level one and delete directory config to use it. what does it mean by "copy it to top level one" Quote Link to comment https://forums.phpfreaks.com/topic/63238-phpmyadmin-error/#findComment-315189 Share on other sites More sharing options...
wildteen88 Posted August 3, 2007 Share Posted August 3, 2007 The root of phpmyadmin folder, eg if you installed phpmyadmin in C:/phpmyadmin then you place the config.inc.php in C:/phpmyadmin Quote Link to comment https://forums.phpfreaks.com/topic/63238-phpmyadmin-error/#findComment-315256 Share on other sites More sharing options...
php? Posted August 3, 2007 Author Share Posted August 3, 2007 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) Quote Link to comment https://forums.phpfreaks.com/topic/63238-phpmyadmin-error/#findComment-315265 Share on other sites More sharing options...
wildteen88 Posted August 4, 2007 Share Posted August 4, 2007 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'; Quote Link to comment https://forums.phpfreaks.com/topic/63238-phpmyadmin-error/#findComment-315482 Share on other sites More sharing options...
XeoWolf Posted August 6, 2007 Share Posted August 6, 2007 Ahh good posts! I've scratched my head over this issue a few times in the past. Quote Link to comment https://forums.phpfreaks.com/topic/63238-phpmyadmin-error/#findComment-316612 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.