生产环境下的MySQL数据库主从同步总结
时间:2025-11-04 19:26:20 出处:IT科技类资讯阅读(143)

复制/usr/sbin/groupadd MySQL /usr/sbin/useradd -g MySQLMySQL unzip MySQL-5.1.38.zip cd MySQL-5.1.38/ ./configure --prefix=/usr/local/webserver/MySQL/ --enable-assembler --with-extra-charsets=complex --enable-thread-safe-client --with-big-tables --with-readline --with-ssl --with-embedded-server --enable-local-infile --with-plugins=innobase make && make install chmod +w /usr/local/webserver/MySQL chown -R MySQL:MySQL /usr/local/webserver/MySQL cp support-files/my-medium.cnf /usr/local/webserver/MySQL/my.cnf #这部可依具体环境而定,生产L数压力大的WordPress模板环境化可采用huge.cnf cd ../ 1.2.3.4.5.6.7.8.9.10.11.12.13.14.亿华云
                分享到:
                
温馨提示:以上内容和图片整理于网络,仅供参考,希望对您有帮助!如有侵权行为请联系删除!