MySQL
分享MySQL数据库开发时遇到的问题及解决方案
赵同学来了
应届生,目前在一家上市公司从事Java开发工作。
展开
-
springboot整合mybatis(详解)
在resources目录下新建application.yml文件,用于存放数据库连接、服务端口配置等,也可以直接使用application.properties文件。输入用户名和密码,点击登录,如果账号不存在,则显示用户名不存在,请先注册。如果数据库中存在该账号,则跳转到success页面。在services包下创建建接口UserLoginServicesI和类UserLoginServicesImpl。在搜索栏中输入 http://localhost:8080/toLogin。原创 2023-09-19 18:13:10 · 311 阅读 · 0 评论 -
SpringBoot连接mysql密码正确但SQLException: Access denied for user ‘root‘@‘localhost‘ (using password: YES)
SpringBoot连接mysql密码正确但SQLException: Access denied for user 'root'@'localhost' (using password: YES)原创 2023-09-19 13:38:31 · 561 阅读 · 0 评论 -
MySQL建表出现1064 - You have an error in your SQL syntax; check the manual that corresponds to you MySQL
# MySQL建表出现1064 - You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ''id')原创 2022-11-17 23:15:33 · 20679 阅读 · 0 评论