Pages

Google Ads

Showing posts with label Changing password on a MySQL DB. Show all posts
Showing posts with label Changing password on a MySQL DB. Show all posts

Friday, January 30, 2009

Changing password on a MySQL DB

Hey man,

Below there is a good tip.

# mysql -u root -p

mysql> UPDATE user SET Password=PASSWORD('new_password') WHERE User='root';
mysql> FLUSH PRIVILEGES;