当前位置:网站首页>Mac MySQL installation tutorial
Mac MySQL installation tutorial
2022-06-13 11:33:00 【Mad devil coding King】
Mac Next MySQL The installation steps are as follows :
1. download
open mysql Download page of official website :https://dev.mysql.com/downloads/mysql/
2. After decompression, double-click the installation package to install it , Keep clicking to continue selecting the standard installation for all users 
3. Turn on system preferences MySQL service , Generally, the service will be started automatically after installation 
4. System environment variable configuration
MySQL Default installed in :/usr/local/mysql/bin Next .
Want to use directly at the terminal mysql Instructions , You also need to configure the path , open .bash_profile file , add to PATH=$PATH:/usr/local/mysql/bin, stay .bash_profile Set alias in , The purpose of setting an alias is to directly execute instructions mysql perhaps mysqladmin.
vim ~/.bash_profile
# Setting PATH for mysql
export PATH=$PATH:/usr/local/mysql/bin
alias mysql='/usr/local/mysql/bin/mysql'
alias mysqladmin='/usr/local/mysql/bin/mysqladmin'
Execute the following command to activate the file :
source ~/.bash_profile
5. Installation verification
Carry out orders mysql -V, If the following information appears, the installation and configuration are successful :
perform mysql -u root -p Enter the user password set during installation to log in to mysql
边栏推荐
- ARM64 上的性能怪兽:API 网关 Apache APISIX 在 AWS Graviton3 上的安装和性能测试
- 乘法逆元作用
- Multiplicative inverse action
- Mac 安装 MySQL 教程
- 【ROS】MoveIt-rviz-七自由度机械臂仿真
- Multithreading starts from the lockless queue of UE4 (thread safe)
- Similarities and differences between commonAPI and AUTOSAR AP communication management
- Digital DP example
- Web 3.0? High cost version of P2P
- 【TcaplusDB知识库】TcaplusDB新增机型介绍
猜你喜欢

Go 要加个箭头语法,这下更像 PHP 了!

Nim游戏阶梯 Nim游戏和SG函数应用(集合游戏)
![[tcapulusdb knowledge base] tcapulusdb doc acceptance - Introduction to creating game area](/img/b7/2358e8cf1cdaeaba77e52d04cc74d4.png)
[tcapulusdb knowledge base] tcapulusdb doc acceptance - Introduction to creating game area

F2. nearest beautiful number (hard version)

Nim game ladder Nim game and SG function application (set game)

【TcaplusDB知识库】Tmonitor后台一键安装介绍(一)

Do you agree that the salary of hardware engineers is falsely high?
![[tcapulusdb knowledge base] tcapulusdb operation and maintenance doc introduction](/img/d4/b1a2b217f80b532ed1640a948fcca6.png)
[tcapulusdb knowledge base] tcapulusdb operation and maintenance doc introduction

【TcaplusDB知识库】Tmonitor单机安装指引介绍(二)
![[tcapulusdb knowledge base] Introduction to new models of tcapulusdb](/img/ae/ef8536931569d736caec773148556e.png)
[tcapulusdb knowledge base] Introduction to new models of tcapulusdb
随机推荐
TS进阶之条件类型
C#/VB.NET 在Word转PDF时生成目录书签
Necessary for Architects: system capacity status checklist
Euler function and finding Euler function by linear sieve
vivo大规模 Kubernetes 集群自动化运维实践
17 pictures: read and understand the first domestic guide for mainframe security capacity building
Similarities and differences between commonAPI and AUTOSAR AP communication management
C#/VB. Net to generate directory bookmarks when word is converted to PDF
领导说要明天上线,这货压根不知道开发流程
[tcapulusdb knowledge base] tcapulusdb Model Management Introduction
DNS protocol analysis
ARM64 上的性能怪兽:API 网关 Apache APISIX 在 AWS Graviton3 上的安装和性能测试
很妙的贪心(F2. Nearest Beautiful Number (hard version))
状态压缩DP例题(旅行商问题和填矩形问题)
《气候韧性和可持续性》| 新研究表明超级飓风未来几年会对南亚产生更大破坏
Based on vue+nest Js+mysql cross platform open source community operation management system
Easyclick run code snippet out null
判定二分图和二分图最大匹配
We spent a weekend migrating 3.7 million lines of code to typescript
The leader said he would go online tomorrow, but he didn't know the development process at all