To install MYSQL server on centos follow the steps below.
SSH server
yum install mysql-server
yum install mysql-devel
Set the MySQL service to start on boot
chkconfig --levels 235 mysqld on
/etc/init.d/mysqld start
or
service mysqld start
If this doesent work use below command to find location.
find / -name mysql
output will be like we are looking for init.d
==========
/etc/chkserv.d/mysql
/etc/logrotate.d/mysql
/etc/rc.d/init.d/mysql
/home/cpeasyapache/src/php-5.4.20/ext/mysql
/var/run/restartsrv/startup/mysql
===========
Run the Command.
/etc/rc.d/init.d/mysql start
T set the MYSQL password run the command below.
mysqladmin -u root password “New – password”
Mysql should be running before you proceed to change the root password
No comments:
Post a Comment
Do Write about the Blog and Welcome to the world where open source is every thing :-)