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
1. OpenSSL official website Official download add...
Table of contents Preface Install vue-i18n Config...
1. Install vsftpd component Installation command:...
Table of contents 1. Introduction 1. Basic layout...
When we are writing a page, we often encounter a ...
This article mainly introduces the detailed proce...
Update: Now you can go to the MySQL official webs...
The key features of the InnoDB storage engine inc...
Business scenario requirements and implementation...
Designers have their own font library, which allo...
MySQL InnoDB monitoring (system layer, database l...
1. Problem description Due to some reasons, the d...
1. Introduction to Linux .NET Core Microsoft has ...
Table of contents Small but beautiful Keep it sim...
Using depends_on to sort containers does not perf...