mysql报错解决

1044, "Access denied for user 'root'@'192.168.0.%' to database 'test'"

是因为创建这个test数据库时候没有给这个数据库授予被操作权限,所以报错,授权即可

解决:

grant all privileges on test.* TO 'root'@'%' identified by 'jenkins@123' with grant option;
flush privileges;
原文地址:https://www.cnblogs.com/effortsing/p/10389518.html