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]

Link to comment
Share on other sites

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

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

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