INSERT INTO `mysql`.`user` (
`Host`,
`User`,
`Password`,
`ssl_cipher`,
`x509_issuer`,
`x509_subject`,
`authentication_string`
)
VALUES
(
'%', -- 允许远程访问
'zhangsan', -- 用户名
'*6BB4837EB74329105EE4568DDA7DC67ED2CA2AD9', -- 明文密码:123456
'',
'',
'',
''
);
select * from user where `user` = 'zhangsan';