Install MySQL 8.0 docker run -p 63306:3306 -e MYSQL_ROOT_PASSWORD=zhaooleemysql --name zhaooleemysqldb -d mysql:8.0
Entering the container docker exec -it zhaooleemysqldb bash Login to database mysql -uroot -p zhaooleemysql Create a new user (8.0 is more strict, it is troublesome to log in remotely with the root user, we choose to create a new user) create user 'zhaoolee' identified with mysql_native_password by 'eelooahzpw'; Add permissions for the new user zhaoolee grant all privileges on *.* to 'zhaoolee'; Refresh permissions flush privileges; Create a new database create database v2fy charset=utf8; The name of the new database is Exit Database exit Exit Docker container control + p + q Try connecting with Navicat 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:
|
<<: Detailed explanation of daily_routine example code in Linux
>>: MySQL5.7.21 decompressed version installation detailed tutorial diagram
This article shares the tutorial of MySql install...
In front-end development, $ is a function in jQue...
I remember that a few years ago, there was an int...
Sometimes our pages will need some prompt boxes o...
When the software package does not exist, it may ...
Table of contents 1. Common mistakes made by begi...
Table of contents Basic description AST parsing R...
ReactRouter implementation ReactRouter is the cor...
Table of contents What is a trigger Create a trig...
Preface The computer I use is a Mac, and the oper...
As we all know, SSH is currently the most reliabl...
The road ahead is always so difficult and full of...
Data URI Data URI is a scheme defined by RFC 2397...
I believe that everyone needs to copy and paste d...
Table of contents 1. Preface 2. Find two pop-up c...