View Single Post
  #4  
Old 04-04-2002, 10:20 AM
flipper
Sarnak
 
Join Date: Jan 2002
Location: California
Posts: 94
Default

You can change the password for mysql by using mysqladmin. I think the following will do it for you:

mysqladmin -u root -p password <new password>

Just replace <new password> with the new password you want to use. Typing this command will cause mysql to prompt you for your existing password. Since Mandrake 8.x doesn't assign a password, just hit enter when prompted.

EDIT: The above command may interpret the string "password" as your old password. If that happens try this command instead:

mysqladmin -p -u root password <new password>
Reply With Quote