【JAVA基础】MySQL配置

mySQL配置

数据库连接

image
image
image

初始化配置

--创建用户 并授权
create user 'injasup'@'%' identified by 'supplier@2023#!';
GRANT SELECT, INSERT, UPDATE, DELETE, CREATE, DROP, RELOAD, PROCESS, REFERENCES, INDEX, ALTER ON *.* TO `injasup`@`%` WITH GRANT OPTION

FLUSH PRIVILEGES;
show grants

阿里云服务器mysql重置root密码

https://blog.csdn.net/weixin_43244841/article/details/113697737

报错解决

无法连接到MySQL server的10061错误

https://blog.csdn.net/qq_33742119/article/details/80016180?spm=1001.2101.3001.6650.3&utm_medium=distribute.pc_relevant.none-task-blog-2~default~CTRLIST~Rate-3-80016180-blog-113202974.pc_relevant_multi_platform_featuressortv2dupreplace&depth_1-utm_source=distribute.pc_relevant.none-task-blog-2~default~CTRLIST~Rate-3-80016180-blog-113202974.pc_relevant_multi_platform_featuressortv2dupreplace&utm_relevant_index=6

Failed to configure a DataSource: 'url' attribute is not specified and no embedd

https://changemax.blog.csdn.net/article/details/88191732?spm=1001.2101.3001.6650.1&utm_medium=distribute.pc_relevant.none-task-blog-2~default~CTRLIST~Rate-1-88191732-blog-101886962.topnsimilarv1&depth_1-utm_source=distribute.pc_relevant.none-task-blog-2~default~CTRLIST~Rate-1-88191732-blog-101886962.topnsimilarv1&utm_relevant_index=2

posted on 2022-08-16 14:36  舟山婠贞  阅读(30)  评论(0编辑  收藏  举报

导航