当前位置:网站首页>errorCode 1045, state 28000错误详解即解决方法
errorCode 1045, state 28000错误详解即解决方法
2022-08-06 07:49:40【1 2 3 一起追梦】
之前没怎么注意过,在做整合数据库时,使用了properties文件来分离连接数据,运行项目时,一直报错,发现连接一直使用的时,自己的计算机名。
导致原因:username默认为自己本地计算机名
最后修改为:
jdbc.url=jdbc:mysql://ip:3306/final_project?serverTimezone=Asia/Shanghai jdbc.driverClassName=com.mysql.cj.jdbc.Driver jdbc.username=root [email protected] maxWait=3000 maxWaitThreadCount=5 loginTimeout=3000 keepAlive=true minIdle=6
成功解决。
边栏推荐
猜你喜欢
随机推荐
- Datax3.0+DataX-Web builds distributed visual ETL system
- [Popular Science] What basic knowledge do I need to learn to engage in Web3?
- Original Questions for Level 5 of China Electronics Society Youth Grade Examination
- [Cloud Native--Kubernetes] Configuration Management
- Use Specification and Example to implement dynamic conditional query cases
- JMeter集合点
- JMeter关联执行
- JMeter代理录制手机app
- The origin of the name, concave language -, and moral
- [面试篇]Mysql 索引 BTree 与 B+Tree 的区别
- I set the global mapping table prefix in yml, but the database does not recognize it
- Simulate the realization of strcpy function (including multiple optimization ideas)
- Script for reverse generation of entity class, query and other interface xml of MySQL database
- 快速学会文件操作模块
- js simulates the function of dynamically deleting messages
- How to improve the quality of articles without being "recommended and affected" by the post assistant
- CSDN official plug-in
- C语言 结构体
- 【leetcode】8. 字符串转换整数 (atoi)
- "Digital reconstruction system, CEO is the first step"
- how to jump higher
- No, no, no, it's 2022, you don't know the principle of Jmeter, right?
- 测试用例设计方法-场景法详解
- 一文3000字解析Pytest单元测试框架【保姆级教程】
- 2022-08-05:以下go语言代码输出什么?A:65, string;B:A, string;C:65, int;D:报错。
- Jetpack WorkManager 看这一篇就够了~
- 关于np.zeros()第三个参数:c代表与c语言类似,行优先;F代表列优先的记录
- 腾讯云点播上传视频文件解决路径问题
- Parameter ‘courseId‘ not found. Available parameters are [arg1, arg0, param1, para
- LeetCode——345. 反转字符串中的元音字母
- LeetCode——1047. 删除字符串中的所有相邻重复项
- 山石发声 | 做好安全运营,没有你想象的那么难
- bpe 中文tokens
- dalle2:hierarchical text-conditional image generation with clip
- qwqの科技flag
- 2022海亮SC游记
- 20220803模拟
- 代码签名证书可以解决软件被杀毒软件报毒提醒吗?
- 使用aggird组件实现下滑请求分页从而实现无限滚动的效果
- 代码签名证书多少钱?