tarxvfMysqL-5.7.18-linux-glibc2.5-x86_64.tar.gz-C/usr/local/ cd/usr/local/ mvMysqL-5.7.18-linux-glibc2.5-x86_64/MysqL groupadd-u800MysqL groupadd-g800MysqL useradd-u800-gMysqLMysqL mkdirMysqL/data chown-RMysqL.MysqLMysqL cdMysqL bin/MysqLd--initialize--user=MysqL--basedir=/usr/local/MysqL--datadir=/usr/local/MysqL/data bin/MysqL_ssl_rsa_setup--datadir=/usr/local/MysqL/data cpMysqL.server/etc/init.d/MysqLd vim/etc/my.cnf [MysqLd] user=MysqL port=3306 server_id=1 socket=/tmp/MysqL.sock basedir=/usr/local/MysqL datadir=/usr/local/MysqL/data #disablingsymbolic-linksisrecommendedtopreventassortedsecurityrisks symbolic-links=0 [MysqLd_safe] log-error=/var/log/MysqLd.log pid-file=/var/run/MysqLd/MysqLd.pid vim/etc/profile.d/MysqL.sh exportPATH=$PATH:/usr/local/MysqL/bin ./etc/profile.d/MysqL.sh chkconfigMysqLdon serviceMysqLdstart
版权声明:本文内容由互联网用户自发贡献,该文观点与技术仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 dio@foxmail.com 举报,一经查实,本站将立刻删除。