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

Vue implements card flip carousel display

Vue card flip carousel display, while switching d...

Docker modifies the configuration information of an unstarted container

When I first used docker, I didn't use docker...

How to add Vite support to old Vue projects

1. Introduction I have taken over a project of th...

How to quickly build a LAMP environment on CentOS platform

This article uses an example to describe how to q...

Detailed explanation of the principle and usage of MySQL views

This article uses examples to illustrate the prin...

Reasons why MySQL 8.0 statistics are inaccurate

Preface Whether it is Oracle or MySQL, the new fe...

Detailed explanation of how to adjust Linux command history

The bash history command in Linux system helps to...

Example code for using @media in CSS3 to achieve web page adaptation

Nowadays, the screen resolution of computer monit...

How to completely uninstall iis7 web and ftp services in win7

After I set up the PHP development environment on...

Detailed explanation of the use of props in React's three major attributes

Table of contents Class Component Functional Comp...

mysql 8.0.18 mgr installation and its switching function

1. System installation package yum -y install mak...

Detailed explanation of MySQL master-slave inconsistency and solutions

1. MySQL master-slave asynchrony 1.1 Network Dela...

Serial and parallel operations in JavaScript

Table of contents 1. Introduction 2. es5 method 3...

Solution to the problem that Navicat cannot remotely connect to MySql server

The solution to the problem that Navicat cannot r...