当前位置:网站首页>Docker installation of mysql8 and sqlyong connection error 2058 solution [jottings]
Docker installation of mysql8 and sqlyong connection error 2058 solution [jottings]
2022-06-30 12:45:00 【Full stack programmer webmaster】
docker install mysql
#docker pull mysql
#docker create --name mysql8 -e MYSQL_ROOT_PASSWORD=root -p 3306:3306 mysql:latest
#docker start mysql8
Into the container
#docker exec -it mysql8 bash
mysql Connect
#mysql -uroot -proot
install mysql 8.0.11 After use SQLyog Connect to the database but report an error 2058 Solutions for
The error may be caused by the new version mysql The change of the encryption method of SQLyog Unable to connect to database
# Change Password
ALTER USER 'root'@'%' IDENTIFIED WITH mysql_native_password BY 'zhongxu';
/**
<dependency>
<groupId>mysql</groupId>
<artifactId>mysql-connector-java</artifactId>
<version>8.0.22</version>
</dependency>
jdbc.driverClass=com.mysql.cj.jdbc.Driver
jdbc.connectionURL=jdbc:mysql://localhost:3306/xxDB?serverTimezone=GMT%2B8&&useSSL=false&useUnicode=true&characterEncoding=utf-8
jdbc.userId=root
jdbc.password=123456
**/
Refresh the permissions
FLUSH PRIVILEGESPublisher : Full stack programmer stack length , Reprint please indicate the source :https://javaforall.cn/100719.html Link to the original text :https://javaforall.cn
边栏推荐
- Scratch drawing square electronic society graphical programming scratch grade examination level 2 true questions and answers analysis June 2022
- 第十三章 信号(三)- 示例演示
- Google refutes rumors and gives up tensorflow. It's still alive!
- Substrate 源码追新导读: 质押额度大幅度削减, RocksDB可以完全被Disable
- Apple executives openly "open the connection": Samsung copied the iPhone and only added a large screen
- JMeter之事务控制器
- Tencent cloud Database Engineer competency certification was launched, and people from all walks of life talked about talent training problems
- Hisilicon 3559 sample parsing: Venc
- Lichuang EDA learning notes 10 common connector component identification and passive buzzer driving circuit
- 【一天学awk】内置变量的使用
猜你喜欢

Linux系统Redis的安装

机器学习笔记 - 自相关和偏自相关简介

Today in history: Microsoft acquires PowerPoint developers; SGI and MIPS merge

Pinda general permission system (day 7~day 8)

SuperMap iClient3D for WebGL 加载TMS瓦片

Efficient elliptic curve point addition and multiplication in scrypt

SuperMap 3D SDKs_ Unity plug-in development - connect data services for SQL queries

“\“id\“ contains an invalid value“

Sarsa notes
![[QNX Hypervisor 2.2用户手册]6.2.3 Guest与外部之间通信](/img/ca/9065325ce8882d95fb24c82fb62abc.png)
[QNX Hypervisor 2.2用户手册]6.2.3 Guest与外部之间通信
随机推荐
Android development interview real question advanced version (with answer analysis)
Spatiotemporal prediction 2-gcn_ LSTM
海思3559萬能平臺搭建:獲取數據幀修改後編碼
Q-learning notes
全面解析免费及收费SSH工具的基本特性和总结
Iserver publishing es service query setting maximum return quantity
Instructions for legend use in SuperMap iclient3d 11i for cesium 3D scene
基于ThinkPHP5封装tronapi-波场接口-PHP版本--附接口文档-20220627
解决numpy.core._exceptions.UFuncTypeError: ufunc ‘add‘ did not contain a loop with signature matchin问题
Two batches of pure milk are unqualified? Michael responded that he was conducting a large-scale screening and sampling inspection of products
New function of SuperMap iserver11i -- release and use of legend
Browser plays RTSP video based on nodejs
Flink SQL console, group not recognized_ Concat function?
【一天学awk】数组的使用
Visual studio configures QT and implements project packaging through NSIS
[cloud native | kubernetes] in depth understanding of deployment (VIII)
Pinda general permission system (day 7~day 8)
60 divine vs Code plug-ins!!
SuperMap iclient3d for webgl loading TMS tiles
【驚了】迅雷下載速度竟然比不上虛擬機中的下載速度