We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
1.下载:https://dev.mysql.com/downloads/file/?id=476677 2.解压到本地: tar -zxvf mysql-5.6.40-macos10.13-x86_64.tar.gz 3.移动到/usr/local目录:sudo mv mysql-5.6.40-macos10.13-x86_64 /usr/local 4.重命名目录为mysql:mv mysql-5.6.40-macos10.13-x86_6 mysql 5.更改用户和属组:sudo chown -R root:wheel mysql 6.进入mysql/scripts目录执行脚本编译:sudo ./mysql_install_db --user=mysql 7.进入mysql/support-files目录启动 sudo ./mysql.server start sudo ./mysql.server restart sudo ./mysql.server stop sudo ./mysql.server status 8.修改root用户密码,mysql/bin目录下执行 ./mysqladmin -u root password root123
The text was updated successfully, but these errors were encountered:
No branches or pull requests
安装tar.gz版
1.下载:https://dev.mysql.com/downloads/file/?id=476677
2.解压到本地: tar -zxvf mysql-5.6.40-macos10.13-x86_64.tar.gz
3.移动到/usr/local目录:sudo mv mysql-5.6.40-macos10.13-x86_64 /usr/local
4.重命名目录为mysql:mv mysql-5.6.40-macos10.13-x86_6 mysql
5.更改用户和属组:sudo chown -R root:wheel mysql
6.进入mysql/scripts目录执行脚本编译:sudo ./mysql_install_db --user=mysql
7.进入mysql/support-files目录启动
sudo ./mysql.server start
sudo ./mysql.server restart
sudo ./mysql.server stop
sudo ./mysql.server status
8.修改root用户密码,mysql/bin目录下执行
./mysqladmin -u root password root123
作者原创,转载请注明出处,违法必究!
The text was updated successfully, but these errors were encountered: