当前位置:网站首页>Mac下搭建MySQL环境
Mac下搭建MySQL环境
2022-06-13 01:59:00 【司马弈】
1.下载
用dmg的方式安装。Download MySQL Community Server
或者常规方式,打开官网 : http://www.mysql.com/downloads/ 进入, 点击下方的DOWNLOADS : MySQL Community Server

往下拉,看到download,点击下载

接着, 会跳转到如下页面, 你只需要选择不登录,直接下载即可

2.安装
下载到本地后,双击打开,会看到一个黄色的图标


然后双击黄色图标,会弹出安装步骤

按继续

同意

点安装

接下来会让你输入你电脑的开机密码,然后安装

接着会弹出这个界面,是让你设置MySQL密码的,选择第一个,然后点击next

设置一个比较好记得密码,勾上start mysql...代表启动MySQL服务,然后点击finish即可安装完成。

3.测试连接
接着我们来测试一下
在这里,我选择的是Navicat Premium Essentials
安装包链接:http://m6.pc6.com/xuh6/navicatpre12115.zip
点击connection

选择MySQL

然后填写一下数据库信息

connectionname:随便填
addto:不用管
host:ip,如果是部署本地练习用的话,填localhost,127.0.0.1都可以,如果要连接其他ip,新增一个连接即可
port:默认3306,一般不改
username:用户名,一般为root
password:用户密码,即为刚刚安装时设置的密码
填写完后,我们点击Test connection,出现succ就代表成功了,然后点击save,既完成。

边栏推荐
猜你喜欢

6、 Implementation of warehouse out management function

三、上传织物图片至SQL Server并提供name进行展示织物照片

五、库存查询功能的完善

dfs与bfs解决宝岛探险

Magics 23.0 how to activate and use the slice preview function of the view tool page

Vscode configuration header file -- Take opencv and its own header file as an example

记录:如何解决MultipartFile类的transferTo()上传图片报“系统找不到指定的路径“问题【亲测有效】

Use mediapipe+opencv to make a simple virtual keyboard

Magics 23.0如何激活和使用视图工具页的切片预览功能

指针链表的实现
随机推荐
10 days based on stm32f401ret6 smart lock project practice day 1 (environment construction and new construction)
[the second day of actual combat of smart lock project based on stm32f401ret6 in 10 days] (lighting with library function and register respectively)
The scientific innovation board successfully held the meeting, and the IPO of Kuangshi technology ushered in the dawn
Ctrip reshapes new Ctrip
华为设备配置私网IP路由FRR
What did Hello travel do right for 500million users in five years?
Establishment of microservice development environment
Gome's ambition of "folding up" app
Ruixing coffee 2022, extricating itself from difficulties and ushering in a smooth path
Implementation of pointer linked list
Decoding iFLYTEK open platform 2.0 is a fertile land for developers and a source of industrial innovation
Vs how to enter chromium subprocess debugging
分享三个关于CMDB的小故事
Wsl2 + vcxsrv + opengl3.3 configuration
[printf function and scanf function] (learning note 5 -- standard i/o function)
pringboot之restfull接口规范注解(二)
Ruixing coffee moves towards "national consumption"
[the third day of actual combat of smart lock project based on stm32f401ret6 in 10 days] communication foundation and understanding serial port
Can't use typedef yet? C language typedef detailed usage summary, a solution to your confusion. (learning note 2 -- typedef setting alias)
Differences between constants and variables (detailed description) (learning note 3 -- variables and constants)