当前位置: 移动技术网 > IT编程>数据库>Mysql > Mac下mysql 5.7.17 安装配置方法图文教程

Mac下mysql 5.7.17 安装配置方法图文教程

2017年12月12日  | 移动技术网IT编程  | 我要评论

轩辕伏魔录3.2,免费八字算命网,巴比豆

一、下载mysql

页面点击后进入如下页面

down1 

按图操作即可,接下来:

down2

二、安装和配置

安装按照步骤来即可。但是要记住最后的初始密码。

最后我们在电脑的系统偏好设置里面可以看见安装的mysql

mysql1 
mysql1 

默认mysql是启动的。

在打开之前我们需要在终端中配置一下。

path="$path":/usr/local/mysql/bin
mysql -u root -p
#输入密码
#terminal显示
#welcome to the mysql monitor. commands end with ; or \g.
your mysql connection id is 10
server version: 5.7.12

copyright (c) 2000, 2016, oracle and/or its affiliates. all rights reserved.

oracle is a registered trademark of oracle corporation and/or its
affiliates. other names may be trademarks of their respective
owners.

type 'help;' or '\h' for help. type '\c' to clear the current input statement.

mysql>set password = password('new password');

操作完上面的就可以正常使用mysql。
详细可以参考《mac os系统安装mysql》

以上就是本文的全部内容,希望对大家的学习有所帮助,也希望大家多多支持移动技术网。

如对本文有疑问,请在下面进行留言讨论,广大热心网友会与你互动!! 点击进行留言回复

相关文章:

验证码:
移动技术网