How to change the Mysql users and root password
a d v e r t i s e m e n t s
There are two way to change the mysql user and root password
mysqladmin
If you have never set a root password for MySQL, the server does not require a password at all for connecting as root. To setup root password for first time, use mysqladmin command at shell prompt as follows:
$ mysqladmin -u root password NEWPASSWORD
However, if you want to change (or update) a root password, then you need
- Add new comment
- 182 reads
- Stumble













Recent comments
1 year 40 weeks ago
1 year 47 weeks ago