摘要:
在虚拟机安装完mysql后,配置bin到环境变量path,cmd登陆mysql ,>>mysql -hlocalhost -uroot -ppassword>>use mysql>>Grant all privileges on *.* to 'root'@'%' identified by 'password' with grant option;>>select user,host,password from user;这时可以从主机试下登陆虚拟机mysqlhost:192.168.*.*(分配 阅读全文