#1
  1. No Profile Picture
    Junior Member
    Devshed Newbie (0 - 499 posts)

    Join Date
    Apr 2000
    Posts
    1
    Rep Power
    0
    Hi,
    i have following problem, perhaps somebody can help me.

    when i enter:
    mysqladmin -u root password 'xxx'
    then following message occures:
    mysqladmin: connect to server at 'localhost' failed
    error: 'Access denied for user: 'root@localhost' (Using password: NO)'

    What is wrong?
    if i say mysqladmin ping then the answer is
    mysqld is alive

    The mysql is newly installed...

    Thanks in advance for help?
  2. #2
  3. No Profile Picture
    Apprentice Deity
    Devshed Loyal (3000 - 3499 posts)

    Join Date
    Jul 1999
    Location
    Niagara Falls (On the wrong side of the gorge)
    Posts
    3,237
    Rep Power
    19
    Re-read the error message, that'll tell you what's wrong. See the part (Using password: NO)?

    Now, re-read the manual on the correct syntax for starting mysqladmin
  4. #3
  5. No Profile Picture
    worshipper of DOT
    Devshed Newbie (0 - 499 posts)

    Join Date
    Jan 2000
    Location
    Halmstad, Sweden
    Posts
    35
    Rep Power
    15
    Martin,

    try changing "password" to "-p", as the manual explains...


    ------------------
    <BLOCKQUOTE><font size="1" face="Verdana,Arial,Helvetica">quote:</font><HR>Linux, the operating system with a clue - Command Line User Environment.[/quote]

    geeee... thanks!

    /closecut

Similar Threads

  1. connect to mysql db server in another server
    By darcher in forum MySQL Help
    Replies: 5
    Last Post: January 13th, 2004, 11:22 PM
  2. connect to other server
    By imranlink in forum XML Programming
    Replies: 9
    Last Post: September 23rd, 2003, 11:34 PM
  3. Taking an age to connect to pop3 mail server
    By McKenna in forum PHP Development
    Replies: 0
    Last Post: January 10th, 2003, 09:16 AM
  4. Can't connect to MySQL server on '24.*.*.*'
    By zytariuk in forum MySQL Help
    Replies: 9
    Last Post: May 1st, 2002, 07:30 AM
  5. HELP: connect at server 'localhost' failed
    By needles in forum MySQL Help
    Replies: 3
    Last Post: February 23rd, 2000, 05:46 PM

IMN logo majestic logo threadwatch logo seochat tools logo