Home > Database > Mysql Tutorial > body text

How to install mysql on mac

藏色散人
Release: 2020-10-29 16:49:07
Original
8914 people have browsed it

How to install mysql on mac: first open the terminal program in mac; then enter the "brew install mysql" command for online installation; finally enter "mysql.server start" to start the mysql server.

How to install mysql on mac

Recommended: "mysql video tutorial"

First open the search box on the mac, then enter terminal and double-click The pop-up terminal program

How to install mysql on mac

#After entering the terminal interface, enter brew install mysql for online installation

How to install mysql on mac

If the interface appears The information shown in the figure below indicates that mysql is installed successfully

How to install mysql on mac

After the installation of mysql is completed, mysql is not started by default. You need to enter mysql.server start to start the mysql server

How to install mysql on mac

After starting the mysql service, enter mysql -uroot on the interface to log in to the mysql client

How to install mysql on mac

Enter the mysql control interface After that, enter show databases to view the currently created databases

How to install mysql on mac

After using the database, execute quit to exit

How to install mysql on mac

The above is the detailed content of How to install mysql on mac. For more information, please follow other related articles on the PHP Chinese website!

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template