06、修改非固定ip访问
修改本地mysql.cnf将bing_ardess=127.0.0.1注释 修改mysql库的user表,将host项,从localhost改为%。%这里表示的是允许任意host访问,如果只允许某一个ip访问,则可改为相应的ip use mysql; update user set host = '%' where user = 'root'; select host, user from user; flush privileges;