Jump to content


What does this error mean???

  • Please log in to reply
3 replies to this topic

#1 ElkySS

  • New Members
  • Pip
  • Newbie
  • 2 posts

Posted 26 March 2003 - 12:03 AM

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@\' <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.

#2 ElkySS

  • New Members
  • Pip
  • Newbie
  • 2 posts

Posted 26 March 2003 - 05:06 AM

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.

#3 DarthViper3k

  • Members
  • PipPipPip
  • Advanced Member
  • 50 posts

Posted 26 March 2003 - 05:18 AM


the commands are NOT DOS

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
[!--PHP-Head--][div class=\'phptop\']PHP[/div][div class=\'phpmain\'][!--PHP-EHead--]
switch($php) {
    case = \"given\" : {
       $website = 1;
    }     case = \"taught\" : {        $website = lifetime;        break;     } } [/span][!--PHP-Foot--][/div][!--PHP-EFoot--] The lazy never learn. The lazy are the downfall of many great things. Take the time to learn.

#4 shivabharat

  • Members
  • PipPipPip
  • Advanced Member
  • 371 posts
  • LocationChennai, India

Posted 26 March 2003 - 06:07 PM

Humm! check ur my.ini

now in that u can see the password that u have set
Knowledge --- Reading Enriches Mind But Sharing Enhances It.[br][br]Note: Before you request help enusre that you have had a look at the tutorials @phpfreaks

0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users