angel1987 Posted May 21, 2010 Share Posted May 21, 2010 I am unable to connect to phpmyadmin through XAMPP even by giving password and username, setting the authentication type, control pass in config file and everything else that i found on other online sources. Config.inc.php file attached. This might be a common question and i did search on google and got hundred results but all are talking about the same thing which is not working for me. So i am asking this question by myself by attaching the config file itself. It keeps saying "#1045 - Access denied for user 'angel'@'localhost' (using password: YES)" and "Connection for controluser as defined in your configuration failed." BTW i am new to PHP and just setting up thing to learn it locally. Please Help. Extra details : XAMPP 1.7.3, PHP 5.3.1, MySQL 5.1.41. [attachment deleted by admin] Quote Link to comment https://forums.phpfreaks.com/topic/202481-cannot-connect-to-phpmyadmin-on-local-machine-xampp/ Share on other sites More sharing options...
glennn.php Posted May 21, 2010 Share Posted May 21, 2010 did you try using "pma" and "******" as login? Quote Link to comment https://forums.phpfreaks.com/topic/202481-cannot-connect-to-phpmyadmin-on-local-machine-xampp/#findComment-1061580 Share on other sites More sharing options...
cybernet Posted May 21, 2010 Share Posted May 21, 2010 by default, root has no password replace your config file with my attachment and then access phpmyadmin username root and dont fill anything on password field => enter in Privileges tab you will find 2-3 users named root edit their password with your desired password after your first edit you will be automatically sign out login again , this time with the password you just set edit the second root user it's should be fine now, SToP messing around with somethig you dont have any idea what it does, take this as an advice, not as a offence Quote Link to comment https://forums.phpfreaks.com/topic/202481-cannot-connect-to-phpmyadmin-on-local-machine-xampp/#findComment-1061715 Share on other sites More sharing options...
angel1987 Posted May 22, 2010 Author Share Posted May 22, 2010 Ok i just reinstalled XAMPP and it kind of solved the problem and i am able to connect to phpmyadmin by default values. Quote Link to comment https://forums.phpfreaks.com/topic/202481-cannot-connect-to-phpmyadmin-on-local-machine-xampp/#findComment-1061852 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.