
Setting/changing MYSQL root Password
Setting up mysql database password is one of the important tasks which a webmaster should take care of. If you have never set a root password for MySQL, then server does not require a password at all for connecting as root and if you have already set password for your database and for some reason if you want to change it then you can do so using following commands.
To setup root password for MySQL databases for first time you need to login to your server as root and will have to use mysqladmin command at shell prompt as follows:
$ mysqladmin -u root password “mysql_password“
However, if you want to change/update your root password, then you will have to use following command
$ mysqladmin -u root -p oldpassword newpassword
after you fire above command you will have to provide password for your MySQL database.
Posted under Linux cPanel Hosting, Shared cpanel Hosting, cPanel Hosting, cPanel hosting accounts
This post was written by on November 5, 2008

















If you are login to your server using SSH then password of your system will not be hacked easily by mediator. People who act as mediators try to hack and spoof your private data thus using SSH such sorts of violations are not possible. SSH works on authentication process before entering into a network for accessing any remote system. SSH uses public/private key cryptographic methods so as to ensure the identity of the requesting user for root getting access thus it ensure that there is no chance that a user can spoof as another user and login to the remote system.