Skip to content

Changing The Password for MySQL User (Production Stack)

echanna edited this page Oct 30, 2014 · 1 revision

To change the password for MySQL is an especially important task for EDX development because it is not secure to keep the default passwords from the initial installation. Below are the following steps to change the password for a MySQL user:

  • login with root username
  • mysql -u root -p -h localhost

Change the MySQL user password:

  • UPDATE mysql.user SET Password=PASSWORD('newPassword***') WHERE User='root' AND Host='localhost';

Clone this wiki locally