1. Tools We need two tools now: MySQL server (mysql-5.7.18), MySQL GUI (mysql-workbench) The MySQL server contains the entire operating environment of MySQL. After installing it, you can run MySQL well through the command line. Of course, if you don't like the command line, you can download a GUI tool to manage MySQL. The GUI has rich functions, including permission settings, database creation, table creation, etc. 2. Installation 1.MySQL Server Download address: https://dev.mysql.com/downloads/mysql/ . I downloaded mysql-5.7.18-macos10.12-x86_64.dmg After downloading, install it directly without any trouble. It is worth noting that after the installation, a pop-up window will be prompted for the root account password. Please write it down as we will use it later. After installation, the mysql command cannot be recognized in the terminal, so it needs to be configured $ cd /usr/local/bin/ $ sudo ln -fs /usr/local/mysql/bin/mysql mysql $ mysql --version #Can display mysql version description mysql installed successfully Change the password of the root account: $ sudo /usr/local/mysql/bin/mysqld_safe --skip-grant-tables UPDATE mysql.user SET authentication_string=PASSWORD('*****') WHERE User='root'; #Verify password after modification # mysql -u root -p 2. Install GUI Download address: https://dev.mysql.com/downloads/workbench/ . I downloaded mysql-workbench-community-6.3.9-osx-x86_64.dmg Download and install, no chatter along the way. After installation, open Workbench and the interface is as follows: Click to enter root localhost:3306 The first time you log in, you will be prompted to change your password, so just change it. Enter the Workbench The installation is now complete! 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:
|
<<: Native Js implementation of calendar widget
>>: Steps to configure nginx ssl to implement https access (suitable for novices)
1. Server environment configuration: 1. Check dis...
What is MyCAT A completely open source large data...
Disable SeLinux setenforce 0 Permanently closed: ...
Recently, I have been working on thesis proposals ...
Table of contents 1. Built-in objects 2. Math Obj...
Meta tag function The META tag is a key tag in th...
This article uses an example to illustrate the ex...
Table of contents 1. Shared CommonModule 2. Share...
I am almost going moldy staying at home due to th...
If the program service is deployed using k8s inte...
Linux server hosts file configuration The hosts f...
1. Overview of DDL Atomicity Before 8.0, there wa...
Table of contents Preface Introduction to Closure...
Preface: In some previous articles, we often see ...
There are two ways to deploy Angular projects wit...