摘要:
1:停止服务 net stop mysql 2:设置密码为空 mysqld --user=mysql --skip-grant-tables --skip-networking& 3:开启服务 net start mysql 4:登录 mysql -u root mysql 5:修改密码 mysql 阅读全文
摘要:
事务不生效的原因: @Transactional 1:数据库引擎是否支持 InnoDB支持事务,MyIsam不支持。查看表是什么引擎 1 show create table pms_product; 2:没有被 Spring 管理 1 // @Service 2 public class Order 阅读全文