Quantcast
Channel: Nat.li » admin
Viewing all articles
Browse latest Browse all 10

Reset mysql password

$
0
0
/etc/init.d/mysql stop
mysqld --skip-grant-tables &
mysql -u root
FLUSH PRIVILEGES;
UPDATE mysql.user SET Password=PASSWORD('newpwd') WHERE User='root';
FLUSH PRIVILEGES;
exit
/etc/init.d/mysql stop
/etc/init.d/mysql start

Viewing all articles
Browse latest Browse all 10

Latest Images

Trending Articles



Latest Images