Field 'ssl_cipher' doesn't have a default value

user表不小心把root 的部分数据删除导致无法 本地登陆

通过jdbc方式登陆后

执行

GRANT USAGE ON *.* TO 'root'@'localhost' IDENTIFIED BY ‘mima' WITH GRANT OPTION;


你可能感兴趣的:(mysql)