????1.????mysql????? mysql???database?μ?user?????
??????root??????????????????host?localhost??????
???????root????????host??????localhost???%
????????????? flush privileges;
????2.???/etc/mysql/my.cnf
???????汾??
????>skip-networking => # skip-networking
?????μ?汾??
????>bind-address=127.0.0.1 => bind-address= ???????IP
????????????????????????????MySQL???