CREATE USER ‘username‘@‘host‘ IDENTIFIED BY ‘password‘;
CREATE USER ‘zsg‘@‘%‘ IDENTIFIED BY ‘123456‘;
GRANT privileges ON databasename.tablename TO ‘username‘@‘host‘
CREATE USER ‘dfjrCase‘@‘%‘ IDENTIFIED BY ‘Dfjr1688‘;
GRANT ALL PRIVILEGES ON dfjr_case.* TO ‘dfjrCase‘@‘%‘ IDENTIFIED BY ‘Dfjr1688‘;
flush privileges;
时间: 2024-10-17 16:18:37