# cp /etc/my-medium.cnf /etc/my.cnf
# chown -R mysql.mysql /var/lib/mysql
# /usr/bin/mysql_install_db
# cd /var/lib
# chown -R mysql:mysql mysql
# /usr/bin/mysqladmin -u root password 'new-passwd'
# chmod +x /etc/rc.d/rc.mysqld
#/etc/rc.d/rc.mysqld start
Nav komentāru:
Ierakstīt komentāru