- 博客(3)
- 资源 (1)
- 收藏
- 关注
原创 远程连接MYSQL,root账户访问被拒绝的操作。MySQL 1130错误,无法远程连接
报错:MySQL 1130错误,无法远程连接解决方法:1.打开mysql Command Line Client窗口(在开始菜单中找道Mysql目录)2.输入root账户的密码登录3.切换道mysql库,输入usemysql; 回车4.允许root账户使用远程连接,输入update user set host='%' where user='root'; 回车5.刷新权限,输入FLUSH PRIVILEGES; 回车6....
2020-06-29 15:24:47 770
原创 JPA中的@Version不管用,只insert新增,不更新update
在springboot中添加@version后,所有的save操作都是insert,不会更新数据。原因:1.@version导入的包不正确,应该导入 java.persistence.version,不是spring的那个2.类中的version字段要确保get和set方法存在
2020-06-11 11:58:03 2673 1
原创 org.hibernate.hql.internal.ast.QuerySyntaxException: User is not mapped报错解决
例子:sprintboot环境中public interface UserRepository extends CrudRepository<User,Long> { @Modifying @Query("update User set password=:psd where id=:id") void updatePassword(@Param("id") Long id, @Param("psd") String password);}原因:1. 表或
2020-06-10 17:48:30 615
cas5.3.1.rar,单点登录服务器完成可用
2020-07-10
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人