idea使用使用h2数据库时

org.springframework.jdbc.CannotGetJdbcConnectionException: Failed to obtain JDBC Connection; nested exception is org.h2.jdbc.JdbcSQLInvalidAuthorizationSpecException: Wrong user name or password 【28000-199】

重设h2用户名和密码

Wrong user name or password 【28000-199】

在控制台执行
create user if not exists 用户名 password ‘密码’;
alter user 用户名 admin true;
Wrong user name or password 【28000-199】

相关文章:

  • 2021-10-24
  • 2021-12-22
  • 2021-12-14
  • 2022-12-23
  • 2022-12-23
  • 2021-07-21
  • 2021-08-01
  • 2022-02-18
猜你喜欢
  • 2021-07-26
  • 2021-11-28
  • 2022-12-23
  • 2021-08-01
  • 2021-09-23
  • 2021-07-29
  • 2022-03-04
相关资源
相似解决方案