环境:mac + mysql8
适合我的解决方案:
创建用户
CREATE USER 'newuser'@'localhost' IDENTIFIED WITH mysql_native_password BY 'password';
赋予权限
grant all privileges on * .* to 'newuser'@'localhost';
环境:mac + mysql8
适合我的解决方案:
创建用户
CREATE USER 'newuser'@'localhost' IDENTIFIED WITH mysql_native_password BY 'password';
赋予权限
grant all privileges on * .* to 'newuser'@'localhost';