MySQL 集群在Server1与Server2上如何安装MySQL

时间:2025-11-04 19:17:06来源:极客码头作者:IT科技
MySQL 集群在Server1与Server2上如何安装MySQL
何安复制# mv MySQL-max-4.1.9-pc-linux-gnu-i686.tar.gz /usr/local/    # cd /usr/local/    # groupadd MySQL # useradd -g MySQLMySQL # tar -zxvf MySQL-max-4.1.9-pc-linux-gnu-i686.tar.gz    # rm -f MySQL-max-4.1.9-pc-linux-gnu-i686.tar.gz    # mv MySQL-max-4.1.9-pc-linux-gnu-i686 MySQL # cd MySQL # scripts/MySQL_install_db --user=MySQL # chown -R root .    # chown -R MySQL data    # chgrp -R MySQL .    # cp support-files/MySQL.server /etc/rc.d/init.d/MySQLd    # chmod x /etc/rc.d/init.d/MySQLd    # chkconfig --add MySQLd   1.2.3.4.5.6.7.8.9.10.11.12.13.14.15.
相关内容