If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > Database Server Software > MySQL > unable to change password

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 02-03-04, 15:56
mrgim mrgim is offline
Registered User
 
Join Date: Feb 2004
Posts: 1
unable to change password

I have installed mysql and run the mysql_install_db script. When I try to change the root password I get the following error:

es01 /opt/bugzilla/mysql$./bin/mysqladmin -u root password s1t8d3l0
./bin/mysqladmin: connect to server at 'localhost' failed
error: 'Access denied for user: 'root@localhost' (Using password: NO)'
es01 /opt/bugzilla/mysql$

Any suggestions would be greatly appreciated.

Thanks,

Gim
Reply With Quote
  #2 (permalink)  
Old 02-03-04, 16:51
ika ika is offline
Registered User
 
Join Date: Oct 2003
Location: Slovakia
Posts: 482
Re: unable to change password

Quote:
Originally posted by mrgim
I have installed mysql and run the mysql_install_db script. When I try to change the root password I get the following error:

es01 /opt/bugzilla/mysql$./bin/mysqladmin -u root password s1t8d3l0
./bin/mysqladmin: connect to server at 'localhost' failed
error: 'Access denied for user: 'root@localhost' (Using password: NO)'
es01 /opt/bugzilla/mysql$

Any suggestions would be greatly appreciated.

Thanks,

Gim
Problem is in wrong syntax.
Correct syntax is following:
mysqladmin -u root -p s1t8d3l0
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On