Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

How to install mysql on mac

2025-04-06 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Database >

Share

Shulou(Shulou.com)06/01 Report--

The editor will share with you how to install mysql on mac. I hope you will gain a lot after reading this article. Let's discuss it together.

The method of installing mysql on mac: first, open the terminal program in mac; then enter the "brew install mysql" command to install online; finally, enter "mysql.server start" to start the mysql server.

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

After entering the terminal interface, enter brew install mysql to install online

If the information shown in the following figure appears on the interface, the mysql installation is successful

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

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

After entering the control interface of mysql, type show databases to view the currently created database

After using the database, execute quit exit

After reading this article, I believe you have a certain understanding of how to install mysql on mac. You want to know more about it. Welcome to follow the industry information channel. Thank you for your reading!

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Database

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report