java.sql.SQLException: null, message from server: "Host '' is not allowed to connect to this MySQL

版权声明:博客知识产权来源命运的信徒,切勿侵权 https://blog.csdn.net/qq_37591637/article/details/84871441

 这个需要设置一下数据库连接的信息

对照一下数据库信息和hibernate.cfg.xml的信息是否一致

猜你喜欢

转载自blog.csdn.net/qq_37591637/article/details/84871441