To easily change the Elastix or Issabel admin password and mySQL root password via SSH, run the following command:
Elastix
1 |
elastix-admin-passwords --change |
Issabel
1 |
issabel-admin-passwords --change |
Another way to change root password in MySQL
In order to change MySQL root password first stop service
1 |
service mysqld stop |
Start MySQL in safe mode
1 |
mysqld_safe --skip-grant-tables & |
Login
1 |
mysql -u root |
Change password
1 2 3 4 |
use mysql; update user set password=PASSWORD("MYNEWPASSWORD") where User='root'; flush privileges; quit |
Restart service
1 |
service mysqld restart |
Finally check the new password:
1 |
mysql -u root -p |
Source: https://www.elastix.org/community/threads/mysql-password.98656