解決阿里雲服務器自己安裝的mysql不能鏈接問題

1.阿里雲啓用3306端口 2.進入mysql環境   mysql -uroot -p 輸入如下兩條語句: grant all privileges on *.* to '數據庫名'@'%'identified by '數據庫登錄密碼' with grant option; flush privileges; 然後ctrl+z退出mysql 3.執行 service mysql restart 重
相關文章
相關標籤/搜索