【mysql】Mac终端安装mysql教程

首先下载安装一个自动安装程序brew
在这里插入图片描述

/user/bin/ruby -e “$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)”

安装成功后,安装mysql数据库

brew install mysql

在这里插入图片描述启动mysql服务:

brew services start mysql

在这里插入图片描述
进入数据库:

mysql -u root -p

在这里插入图片描述
输入你的mysql密码
在这里插入图片描述
即可使用

猜你喜欢

转载自blog.csdn.net/m0_46481239/article/details/105590054