---
---To install MySQL, we do this:
#yum install mysql mysql-server
--Then we create the system startup links for MySQL (so that MySQL starts automatically whenever the system boots) and start the MySQL server:
#chkconfig --levels 235 mysqld on
#/etc/init.d/mysqld start
--Run to set a password for the user root (otherwise anybody can access your MySQL database!).
#mysqladmin -u root password yourrootsqlpassword
#mysqladmin -h server1.example.com -u root password yourrootsqlpassword
--restart apache
on centos
#/sbin/service httpd restart
On fedora
#/etc/init.d/httpd restart
No comments:
Post a Comment