Koozali.org: home of the SME Server

Mysql is broke please help!!!

troyl1969

Mysql is broke please help!!!
« on: March 09, 2005, 05:51:20 PM »
The error i get when i type mysql is follows:

Error 1045: access denied for user: 'root@localhost' using password: YES)

When i type the following i get the same erro
 
mysql -u root -p

since it is a new install I don't have anything in the db so I have no problem with reinstalling if that is possible. what do you think?

guest22

Mysql is broke please help!!!
« Reply #1 on: March 09, 2005, 06:12:30 PM »
You have to reset / sync your mysql password.

Search on the forums and FAQ's on how to do this. It will be a nice exercise ;-)

guest



--------- ;-)
/etc/rc.d/init.d/mysqld stop
/etc/e-smith/events/actions/conf-mysql-password
/etc/rc.d/init.d/mysqld start

troyl1969

its fixed
« Reply #2 on: March 09, 2005, 06:24:40 PM »
all i had to do was this

[root@e-smith /root] # /etc/rc.d/init.d/mysqld stop
[root@e-smith /root] /etc/esmith/events/actions/conf-mysql-password

[root@e-smith /root] # /etc/rc.d/init.d/mysqld start



now maybe I can get some work done today. thanks

Offline CharlieBrady

  • *
  • 6,918
  • +3/-0
Mysql is broke please help!!!
« Reply #3 on: March 10, 2005, 12:15:00 AM »
Quote from: "guest22"
You have to reset / sync your mysql password.


Actually, no. The first action should be to report a bug (assuming he's using a version new enough for anyone to care about).