![](https://img-blog.csdnimg.cn/20201014180756927.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
mysql
caiqiiqi
这个作者很懒,什么都没留下…
展开
-
java.sql.SQLNonTransientConnectionException: Public Key Retrieval is not allowed
在mysql 8中碰到这个问题。 我先创建用户,创建数据库,以及分配用户数据库的权限 create user 'test'@'192.168.96.1' identified by 'test'; grant all privileges on test.* to test@192.168.96.1; 结果: 我已经在数据库连接的url里指定了: AllowPublicKeyRetrieval=True 但是还是出现这个错误。 参考: https://stackoverflow.com/a/5330原创 2021-11-30 16:23:10 · 7436 阅读 · 0 评论 -
mysql批量删除表名为某前缀的表
mysql> drop table like 'qibo_%'; ERROR 1064 (42000): 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 'like 'qibo_%'原创 2017-04-28 15:13:25 · 2180 阅读 · 0 评论 -
MySQL创建用户与授权
原文: http://www.jianshu.com/p/d7b9c468f20d转载 2017-05-04 01:02:20 · 677 阅读 · 0 评论