Sol Reklam
Sağ Reklam
What's new

Mysql Change Password

KONU YAZAR

Fevzi

New member
Onaylı Üye
Apr
20
20
1

Hi,

Today we will share with you the Navicat MySQL password change process via Putty.

First of all, connect to Putty SSH, after logging in, just follow the commands below.

Kod:


Code:
/usr/local/etc/rc.d/mysql-server stop

Kod:


Code:
mysqld_safe --skip-grant-tables &

Kod:


Code:
mysql -u root

Kod:


Code:
use mysql;

Kod:


Code:
update user set password=PASSWORD("metin2core") where User='root';

Kod:


Code:
flush privileges;

Kod:


Code:
quit

Kod:


Code:
/usr/local/etc/rc.d/mysql-server start

If the above command gives an error, please try the below command.

Kod:


Code:
/usr/local/etc/rc.d/mysql-server restart



After executing all the commands above, your new password will be active.

At the end of the process, you do not need to reboot your server.

Your new password; It became 'metin2core'. (Only in quotation marks.)

Hope to see you in another article...

 
Back
Top