Jump to content

Cannot connect to PhpMyAdmin on local machine. XAMPP.


angel1987

Recommended Posts

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]

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

Archived

This topic is now archived and is closed to further replies.

×
×
  • 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.