mysql容許遠程連接,開放3306端口

1、開放3306端口 一、首先查看端口是否打開 mysql netstat -an|grep 3306 此圖爲開啓3306端口的截圖;web 二、打開mysql配置文件sql 將bind-address = 127.0.0.1註銷​數據庫 sudo vim /etc/mysql/mysql.conf.d/mysqld.cnf 三、重啓動ubuntuubuntu sudo reboot 四、再次查看
相關文章
相關標籤/搜索