Install MySQL database server on CentOS
Article ID: 3157 Published: 23 Nov 2014 Updated: 15 Feb 2016 Authored by: Crazy Domains Support
You can install a MySQL database server on CentOS by doing the following:
- Open your VPS console from the Power Management control panel.
- Log In to your VPS by entering your username and password.
- Install the MySQL database server and client using the following command:
# yum install mysql-server mysql
- Start the MySQL service using the following commands:
# chkconfig mysqld on
# /etc/init.d/mysqld start
- Set up a new MySQL root password using the following command:
# mysqladmin -u root password NEW PASSWORD
- To test connectivity, Run and log in with the provided password:
# mysql -u root -p
Congratulations, you have installed a MySQL database server on CentOS.
Was this helpful?
88% of people found this helpful.
Fantastic...Thank you for your feedback =)
Sorry... Please submit a support ticket or try another search.