原创 允許ubuntu下mysql遠程連接

第一步: vim /etc/mysql/my.cnf找到bind-address = 127.0.0.1 註釋掉這行,如:#bind-address = 127.0.0.1 或者改爲: bind-address = 0.0.0.0 允許