horseatingweeds Posted March 26, 2008 Share Posted March 26, 2008 Anyone ever have this problem. I've checked over and over and my config.inc.php file have the right password and username, but when I go to the index.php of phpMyAdmin I get the 1045 Access denied for user 'root'@'localhost' (using password: NO) This is phpMyAdmin version 2.11.5 with mysql 5. Here is my config: /* Servers configuration */ $i = 0; /* Server localhost (config:root) [1] */ $i++; $cfg['Servers'][$i]['host'] = 'localhost'; $cfg['Servers'][$i]['extension'] = 'mysqli'; $cfg['Servers'][$i]['connect_type'] = 'tcp'; $cfg['Servers'][$i]['compress'] = false; $cfg['Servers'][$i]['auth_type'] = 'config'; $cfg['Servers'][$i]['user'] = 'root'; $cfg['Servers'][$i]['password'] = 'xxx'; Quote Link to comment Share on other sites More sharing options...
horseatingweeds Posted March 27, 2008 Author Share Posted March 27, 2008 Well - I've managed to find the problem. phpMyAdmin wasn't looking in the right place for my config.inc.php. According to the documentation you're supposed to make a folder called config and put the inc in there. BUT, if you look at the index.php file, it's looking in the root of phpMyAdmin folder. I tried changing the file path in index to the config folder but that wasn't working so I just copied the darn inc into the root. Anyone know where to change this path? It doesn't look like it's in the index.php. Quote Link to comment 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.