Koozali.org: home of the SME Server

Legacy Forums => Experienced User Forum => Topic started by: Lloyd Keen on December 10, 2000, 03:07:26 PM

Title: mysqladmin
Post by: Lloyd Keen on December 10, 2000, 03:07:26 PM
I'm having trouble using msqladmin. I followed the howto closely but I keep getting "Access denied" error messages when typing in #mysqladmin -u root -p mynewpassword. I think I might have stuffed up when I changed the root password using #mysqladmin - root password mynewpassword. I probably should have substituted mynewpassword for a valid password. I've tried editing the config.inc.php3 file and replacing the mynewpassword part but still no luck. Can anyone offer any suggestions. In other words how can I connect to mysqladmin from the prompt.
Title: RE: mysqladmin
Post by: Dan Brown on December 10, 2000, 05:51:53 PM
There isn't supposed to be a space between -p and the password; this may be causing your problem.  However, try just "mysqladmin -u root -p"; it'll ask you for the password.  If that doesn't work, there's documentation on www.mysql.com describing how to get around this problem.