Home Apache PHP Ubuntu MySQL Linux HTML Win CSS Perl Javascript Rants Retro
 
Print This Page
Date Posted: Sunday 07th of February 2010 | Category: MySQL
Change MySQL root password
MySQL is first set up with root and no password. The best thing to do is change this, as soon as MySQL is installed.

To change the root password in MySQL enter the following in the terminal:-

sudo mysqladmin -u root password {yournewpassword}


Replace {yournewpassword with your own password}