错误描述:
添加用户 insert into mysql.user(Host,User,Password) values("localhost","test",password("1234"));
报以下的错误 ERROR 1364 (HY000): Field 'ssl_cipher' doesn't have a default value错误
mysq...
1.添加新用户
只允许本地ip访问
create user 'test'@'localhost' identified by '123456';
允许外网ip访问
create user 'test'@'%' identified by '123456';
刷新授权
flush privileges;
2.为用户创建数据库
...