Jump to content

Recommended Posts

I am still in the early steps of setting up a forum. I am trying to get MySQL set up and running right. I just set the root and password and then I typed \'mysqladmin -u root reload\' which took me gack to the prompt. Then I typed in \'mysqladmin -u root -p status\' to check the pass. Then I put in the pass when it askes me, and get this error.

 

mysqladmin: connect to server at \'localhost\' failed

error: \'Access denied for user: \'root@127.0.0.1\' <Using Password: YES>\'

 

Then it takes me back to the prompt. I am verry new to all of this so I have no idea what that error means that I need to do.

Link to comment
https://forums.phpfreaks.com/topic/269-what-does-this-error-mean/
Share on other sites

Well I have just figured out why it was saying that \'Access denied\' thingy. The password that I am trying to set it to is not taking. I am using the \'mysqladmin -u root password XXXXXXX\' command. Is that not the one to use? Or is there a better one? BTW this in on a Win XP box so the commands are DOS not Linux commands.

Link to comment
https://forums.phpfreaks.com/topic/269-what-does-this-error-mean/#findComment-802
Share on other sites

umm

 

no

the commands are NOT DOS

WinXP DOESN\'T have DOS AT ALL

 

now

to solve your problem

 

go into your access.ini or php.ini file (I believe thats what its called think its php.ini though) and look for UserName and Password

they should be towards the bottom

 

thats where you set your password and username

then use that username and password when you try to connect to the database

 

hope that helps

Link to comment
https://forums.phpfreaks.com/topic/269-what-does-this-error-mean/#findComment-803
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.