当前位置:网站首页>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
边栏推荐
- Redis cache problem
- FlinkSQL自定义UDTF使用的四种方式
- 机器学习笔记 - 自相关和偏自相关简介
- MySQL composite query
- Redis的基本操作的命令
- Analysis of the whole process of common tilt data processing in SuperMap idesktop
- Determining the subject area of data warehouse construction
- 项目中遇到一个有趣的事情
- Construction de la plate - forme universelle haisi 3559: obtenir le codage après modification du cadre de données
- ffmpeg 杂项
猜你喜欢

7 lightweight and easy-to-use tools to relieve pressure and improve efficiency for developers, and help enterprises' agile cloud launch | wonderful review of techo day

Hisilicon 3559 universal platform construction: introduction to YUV format

What is the principle of spectral confocal displacement sensor? Which fields can be applied?

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

如何利用AI技术优化独立站客服系统?听听专家怎么说!

Reading the table data of Tencent documents in the applet

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

黑马笔记---集合(Collection的常用方法与遍历方式)

Building of Hisilicon 3559 universal platform: obtaining the modified code of data frame

Use of polarplot function in MATLAB
随机推荐
海思3559萬能平臺搭建:獲取數據幀修改後編碼
Iserver publishing es service query setting maximum return quantity
90. (cesium chapter) cesium high level listening events
Scratch drawing square electronic society graphical programming scratch grade examination level 2 true questions and answers analysis June 2022
Substrate 源码追新导读: 质押额度大幅度削减, RocksDB可以完全被Disable
SuperMap iDesktop 常见倾斜数据处理全流程解析
Efficient elliptic curve point addition and multiplication in scrypt
解决numpy.core._exceptions.UFuncTypeError: ufunc ‘add‘ did not contain a loop with signature matchin问题
Substrate 源码追新导读: 修复BEEFY的gossip引擎内存泄漏问题, 智能合约删除队列优化
Idea has a new artifact, a set of code to adapt to multiple terminals!
Flinksql customizes udatf to implement topn
Hisilicon 3559 universal platform construction: introduction to YUV format
MySql实现两个查询结果相除
JMeter之事务控制器
Dqn notes
Tencent cloud Database Engineer competency certification was launched, and people from all walks of life talked about talent training problems
[MySQL] MySQL installation and configuration
Sword finger offer 05 Replace spaces: replace each space in the string s with "%20"“
Shell编程概述
Qt读写Excel--QXlsx工作表显示/隐藏状态设置4