MySQL 5.7.17 installation and configuration tutorial for Mac

MySQL 5.7.17 installation and configuration tutorial for Mac

1. Download MySQL

Click on the official website download page to enter the following page

down1

Just follow the picture, then:

down2

2. Installation and Configuration

Just follow the steps to install. But remember the final initial password.

Finally, we can see the installed MySQL in the computer's system preferences.

mysql1
mysql1

By default MySQL is started.

Before opening we need to configure it in the terminal.

PATH="$PATH":/usr/local/mysql/bin
mysql -u root -p
#Enter password#Terminal display#Welcome to the MySQL monitor. Commands end with ; or \g.
Your MySQL connection id is 10
Server version: 5.7.12

Copyright (c) 2000, 2016, Oracle and/or its affiliates. All rights reserved.

Oracle is a registered trademark of Oracle Corporation and/or its
affiliates. Other names may be trademarks of their respective
owners.

Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.

mysql>SET PASSWORD = PASSWORD('new password');

After completing the above operations, you can use MySQL normally.
For details, please refer to "Installing MySQL on Mac OS".

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:
  • MySQL 5.7.17 installation and configuration method graphic tutorial
  • mysql5.7.17.msi installation graphic tutorial
  • Tutorial on installing mysql5.7.17 on windows10
  • MySQL 5.7.17 installation and configuration graphic tutorial
  • MySQL 5.7.17 installation and configuration method graphic tutorial (windows)
  • MySQL 5.7.17 installation and configuration method graphic tutorial (CentOS7)
  • MySQL 5.7.17 winx64 installation and configuration method graphic tutorial
  • MySQL 5.7.17 winx64 installation and configuration graphic tutorial
  • MySQL 5.7.17 installation and configuration method graphic tutorial under win7
  • MySQL 5.7.17 installation and configuration method graphic tutorial under Windows 10
  • Mysql5.7.17 winx64.zip decompression version installation and configuration graphic tutorial
  • MySQL 5.7.17 winx64 decompression version installation and configuration method graphic tutorial

<<:  Detailed explanation of importing/exporting MySQL data in Docker container

>>:  jQuery realizes the shuttle box function

Recommend

How to write transparent CSS for images using filters

How to write transparent CSS for images using filt...

js implements a simple English-Chinese dictionary

This article shares the specific code of js to im...

HTML uses marquee to achieve text scrolling left and right

Copy code The code is as follows: <BODY> //...

20 excellent foreign web page color matching cases sharing

This article collects 20 excellent web page color ...

How to use vue-video-player to achieve live broadcast

Table of contents 1. Install vue-video-player 2. ...

Detailed explanation of MySQL information_schema database

1. Overview The information_schema database is th...

A simple method to regularly delete expired data records in MySQL

1. After connecting and logging in to MySQL, firs...

JavaScript offsetParent case study

1. Definition of offsetParent: offsetParent is th...

Tutorial on installing Apache 2.4.41 on Windows 10

1. Apache 2.4.41 installation and configuration T...

Detailed explanation of Vue components

<body> <div id="root"> <...

The difference between Div and table in HTML (discussed in detail in all aspects)

1: Differences in speed and loading methods The di...

Detailed explanation of how to configure Nginx web server sample code

Overview Today we will mainly share how to config...

Detailed explanation of MySQL backup and recovery practice of mysqlbackup

1. Introduction to mysqlbackup mysqlbackup is the...