在进行创建数据表时,报以下错误:
Access denied for user 'root'@'localhost' to database 'information_schema'
原因:创建完数据表后,要进行授权
授权数据库,报错即可不在:
grant all on payment.* to 'root'@'%' identified by '123456' with grant option;
其中,payment是数据表鸣,123456是root的密码
但我的数据库表创建成功,但就是没找到问题依旧未解决