????MySQL??????????????????????????????
????????????????????в??????(???????????????)???????????????????
????????????????????б????????????????????????????
???????????????????????????????л????????????
???????????????????????о???????????????.
????+ ?????????????
????my.cnf???????     /etc/my.cnf
????mysql?????λ??    datadir=/var/lib/mysql
???????????192.168.2.119
???????????192.168.2.220
????????????RHEL5.x 32λ
??????????????: ?????
????+ mysql5.0.77 ???:
?????? ???ú?linux??yum????????yum -y install mysql????
???????????phpmysql??????????yum -y install httpd php mysql mysql-server php-mysql
?????? ???MySQL
????service mysqld start(restart|stop)
???????????????
????1?????????my.cnf???????????????????id??logbin??#?????????廷????????????????????huge.cnf??
????[root@localhost etc]#vi /etc/my.cnf
????# ?????????????????[mysqld]???棬???????????????????????????????????????
[mysqld]
log-bin=mysql-bin
server-id=1
binlog-ignore-db=information_schema
binlog-ignore-db=cluster
binlog-ignore-db=mysql
????2???????????Ч
????[root@localhost etc]service mysqld restart
????3?????????
????[root@localhost etc]mysql -u root -p
????4???????????????????????????????????
????mysql> grant all privileges on *.* to '?????'@'%' identified by '????';
????5????鴴???????
????select user??host from mysql.user;
????6?????????
????mysql> flush tables with read lock;