Installation d’un serveur mysql avec yum sous Centos
I’ve successfully installed mysql using yum on fedora core 6 and started it like so
yum install mysql
yum install mysql-server
yum install mysql-devel
chgrp -R mysql /var/lib/mysql
chmod -R 770 /var/lib/mysql
After, start mysql =>
chkconfig mysqld on
/etc/init.d/mysqld restart
Put a password for root account :
/usr/bin/mysqladmin -u root password ‘new-password’
/usr/bin/mysqladmin -u root -h hostname password ‘new-password’
That’s all 🙂
0 commentaire