mysql -u root -p
Enter password: (输入密码)
其中-u后跟的是用户名,-p要求输入密码,回车后在输入密码处输入密码。
添加远程用户admin密码为password
grant all privileges on *.* to admin@"%" identified by 'password' with grant option;
FLUSH PRIVILEGES;
exit;
1970-01-01 来源 1027
QQ:29303658
电话:17155154060
邮箱:cds425@163.com
地址:联系地址