//允许ip 192.168.1.3的电脑来连这台服务器 GRANT ALL PRIVILEGES ON *.* TO‘admin‘@‘192.168.1.3‘IDENTIFIED BY ‘admin‘ WITH GRANT OPTION; //允许所有其他电脑来连这台服务器 GRANT ALL PRIVILEGES ON *.* TO‘xiaosu‘@‘%‘IDENTIFIED BY ‘123456‘ WITH GRANT OPTION;
时间: 2024-12-22 22:06:08
//允许ip 192.168.1.3的电脑来连这台服务器 GRANT ALL PRIVILEGES ON *.* TO‘admin‘@‘192.168.1.3‘IDENTIFIED BY ‘admin‘ WITH GRANT OPTION; //允许所有其他电脑来连这台服务器 GRANT ALL PRIVILEGES ON *.* TO‘xiaosu‘@‘%‘IDENTIFIED BY ‘123456‘ WITH GRANT OPTION;