Find the answer to your Linux question:
Results 1 to 2 of 2
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 ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Jan 2007
    Posts
    10

    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.

    Code:
    [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
    Just Joined!
    Join Date
    Dec 2006
    Posts
    54
    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
  •