This article only applies to customers using our Cloud VM plans and a template that pre-installs MySQL, such as the LAMP, LLMP, LNMP templates. If you installed MySQL yourself on your VM you will need to check the documentation for MySQL to see what root password might have been set to by default, or how to recover it if you do not recall it.
All other templates with MySQL pre-installed
There is no root password for accessing mysql from localhost set on these by default. You can set this with:
$ mysqladmin -u root password YOUR-NEW-PASSWORD-HERE
i.e; mysqladmin -u root password 23DsEkAA0z9l1
Comments
0 comments
Article is closed for comments.