Find the answer to your Linux question:
Results 1 to 2 of 2
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1

    Smile mysql error connect to server at 'localhost' failed

    Hi i am currently trying to get mysql installed so that i can try out XOOPS on my Fedora 6 test box - but when i try to use the command
    mysqladmin -u mysql -p create xoops4
    to create a new user it asks me for a password for mysql but i haven't given it one yet and when i enter a password i get the following error. I have tried to search google for a solution to it but i couldn't find one.

    [root@xoops ~]# mysqladmin -u mysql -p create xoops4
    Enter password:
    mysqladmin: connect to server at 'localhost' failed
    error: 'Access denied for user 'mysql'@'localhost' (using password: YES)'
    Any help on what i am doing wrong would be greatly appreciated -

  2. #2
    I'm suspecting you have key in the wrong password. Just try to connect to it first without supplying any commands.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts