Posts: 290
Threads: 30
Thanks Received:
0 in 0 posts
Thanks Given: 0
Joined: Mar 2013
Reputation:
0
Hey guys,
i got a new host and i want more security , so i added a password for the "root" user of mysql. I can connect to database via SSH, but when i want to start my Subhelper or other, i got message : cannot connect DB !! (i changed the pass in newstobm.bin too)
I changed the right of user in navicat ,they got all rights but he dont want to work.
Thanks for help.
Posts: 212
Threads: 21
Thanks Received:
0 in 0 posts
Thanks Given: 0
Joined: Oct 2011
Reputation:
0
Lastchaos is using a mysql library that only supports old passwords.
So u would have to enable the old passwords in /etc/my.cnf add the line old_passwords=1
and then restart mysql.
then u need to update the password for that user with a old password like this
UPDATE mysql.user SET password = OLD_PASSWORD(password comes here) WHERE user = root AND host = localhost
Now u can use the password
by Wizatek
Posts: 290
Threads: 30
Thanks Received:
0 in 0 posts
Thanks Given: 0
Joined: Mar 2013
Reputation:
0
hey,
where i put it ?
UPDATE mysql.user SET password = OLD_PASSWORD(password comes here) WHERE user = root AND host = localhost
in navicat console or putty?
Posts: 212
Threads: 21
Thanks Received:
0 in 0 posts
Thanks Given: 0
Joined: Oct 2011
Reputation:
0
navicat , console and paste
Posts: 212
Threads: 21
Thanks Received:
0 in 0 posts
Thanks Given: 0
Joined: Oct 2011
Reputation:
0
please rename post and put SOLVED , thx