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'; Link to comment https://forums.phpfreaks.com/topic/98063-phpmyadmin-install-error-1045-but-everythings-right-in-configincphp/ 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. Link to comment https://forums.phpfreaks.com/topic/98063-phpmyadmin-install-error-1045-but-everythings-right-in-configincphp/#findComment-501778 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.