Portal Home > Knowledgebase > Linux VPS Hosting > Install MySQL

Install MySQL

MySQL installation is performed by Linux YUM command, where we use the following options:

yum install mysql mysql-server

yum install mysql mysql-server


Obs .: Some dependencies are required to install.

After completing the installation run the following command:

service mysqld start

Then displays this screen:

service mysqld start


Now you must set the user's password ROOT MySQL for that exeute the command:

/usr/bin/mysqladmin -u root password 'new-password'

mysqladmin -u root -p



To test the connection run:

mysql -u root -p'you password'

mysql -u root


Was this answer helpful?

Add to Favourites Add to Favourites    Print this Article Print this Article

Also Read
Update MySQL (Views: 536)