View Single Post
  #10  
Old 8th February 2006, 01:04
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,744 Times in 2,577 Posts
Default

If you set up MySQL for the first time, then you have the user root with an empty password. You can then run

Code:
mysqladmin -u root password yourrootsqlpassword
which will set root's password to yourrootsqlpassword.

If root already has a password, you must run
Code:
mysqladmin -u root -pcurrent_password password new_password
instead to set a new password for root where current_password is root's current password and new_password is root's new password.
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on: