Your location:FAQ > Scripting > MySQL
How can I change MySQL password?

There are two ways to change MySQL database password: WCP and MS-DOS prompt.
MS-DOS prompt
1.  Go to DOS mode
2.  Type telnet
    ex: telnet
3.  Type your FTP login information
4.  After login, type
/home/wcpdemo > mysqladmin -u Username -p password NewPassword
Enter password: Oldpassword
For example, if your username is wcpdemo and current password is passOld07 and want to change the password to passNew08
/home/wcpdemo  > mysqladmin -u wcpdemo -p password passNew08
Enter password: passOld07

Web Control Panel(WCP)

2.  Click on Website Setting, and then click on MySQL Admin
3.  Then click on “Change password”.