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
Table of contents 1. What is a hook? 2. Why does ...
A story about database performance During the int...
Download tutorial of mysql-connector-java.jar pac...
Table of contents Method 1: Call the function dir...
Effect check address: Tour plan (uplanok.com) Cod...
Interviewer: Have you read the source code of Vue...
Table of contents Some basic instructions 1. Chec...
Result: html <canvas id="starfield"&...
HTML5 adds more semantic tags, such as header, fo...
Table of contents 1. Command 2. docker-compose.ym...
1. Problem introduction Assume a scenario where a...
Download the MySQL installer Official download ad...
1. Make sure the network connection method is bri...
There are two ways to disable form submission in ...
Related articles: Beginners learn some HTML tags ...