1. DownloadFirst of all, I would like to recommend a domestic mirror of MySQL. Although it is not particularly fast, it is still much faster than the official website. At the same time, the resource content is guaranteed and no other messy things will be downloaded. Address: http://mirrors.sohu.com/mysql/ Select the version you need to download. Note: You can use command+f to search (Figure 5.7) This time install 8.0 2. InstallationJust continue without thinking. Select the third one here, click next and set the mysql password Check the box below to start the MySQL service after the installation is complete Configuring environment variablesOpen the terminal and switch to the root directory to edit .bash_profile cd ~ vim ./.bash_profile Press the i key to select insert mode and add these two lines of code export PATH=$PATH:/usr/local/mysql/bin export PATH=$PATH:/usr/local/mysql/support-files Press esc to exit: wq to exit Refresh environment variables source ~/.bash_profile Test whether the run is successful Finally, please noteIf the mysql command does not work after closing the terminal, it is because the Mac terminal does not automatically refresh the environment variables when it starts. To do this, perform the following vim ~/.zshrc source ~/.bash_profile esc :wq to exit This is the end of this article about the implementation example of installing mysql8.0 database on M1 chip. For more relevant content about installing mysql8.0 on M1 chip, please search for previous articles on 123WORDPRESS.COM or continue to browse the related articles below. I hope you will support 123WORDPRESS.COM in the future! You may also be interested in:
|
<<: Several methods and advantages and disadvantages of implementing three-column layout with CSS
>>: Advantages and Problems of XHTML CSS Website Design
First, let's take a look at the relative leng...
Install Oracle_11g with Docker 1. Pull the oracle...
Use CSS to prevent Lightbox to realize the displa...
Table of contents 1. Global beforeEach 1. Global ...
Software and hardware environment centos7.6.1810 ...
The datetime type is usually used to store time i...
Table of contents Overview Example 1) Freeze Obje...
Table of contents Installation Environment Descri...
In this article, we’ll explore how async/await is...
Preface: Front-end: jq+h5 to achieve the nine-gri...
1. Download Download mysql-5.7.19-linux-glibc2.12...
Now, more and more front-end developers are starti...
1. Pull the official 5.0.3 image [root@localhost ...
Effect html <div class="sp-container"...
mysqladmin is an official mysql client program th...