This article records the installation of MySQL 8.0.18 under MacOS and the successful command line operation for your reference. The specific contents are as follows ①Download MySQL 8.0.18 Download URL: Click to view After downloading (dmg), install it. ②Start MySQL service ③Configure environment variables Enter the terminal (vim is used here): vim ~/.bash_profile Add at the end of the file: PATH=$PATH:/usr/local/mysql/bin Save and exit (ESC -> : -> wq). Make the configuration take effect: source ~/.bash_profile Exit the terminal and re-enter it. mysql --version The version number appears to indicate success: You can also use: mysql -u root -p Enter the password to test. ④At this point, all operations have been completed, and you can also use graphical interfaces such as Navicat to operate. Wonderful topic sharing: MySQL different versions installation tutorial MySQL 5.7 installation tutorials for various versions MySQL 5.6 installation tutorials for various versions mysql8.0 installation tutorials for various versions The above is the full content of this article. I hope it will be helpful for everyone’s study. I also hope that everyone will support 123WORDPRESS.COM. You may also be interested in:
|
<<: Nginx configuration location matching rules example explanation
The specific code of the sliding button made with...
Linux version: CentOS 7 [root@azfdbdfsdf230lqdg1b...
Vim is a text editor that we use very often in Li...
I developed a project some time ago. I used the f...
I have been relearning HTML recently, which can be...
1. Preparation before installation: 1.1 Install J...
Binlog is a binary log file that is used to recor...
First, let's simulate the data coming from th...
1. Virtual environment virtualenv installation 1....
Windows installation mysql-5.7.17-winx64.zip meth...
Table of contents 1. Introduction 2. Simple defin...
The operating environment of this tutorial: Windo...
I usually use nginx as a reverse proxy for tomcat...
In real life, a lock is a tool we use when we wan...
When an employer asks you whether an index will b...