如果要外來ip connect 去mysql
要去更改my.cnf

ubuntu 位置為

/etc/mysql/my.cnf
將bind-address 指向要connect 去mysql 的ip

bind-address   = 127.0.0.111

PS: bind-address 不能多於一個,如果多於一個的情況就需要comment 左skip-external-locking 同bind-address,再用firewall block

blog_07

 

トラックバック

このブログ記事に対するトラックバックURL:

コメント & トラックバック

No comments yet.

Comment feed

コメントする

Smiley face

October 2024
S M T W T F S
 12345
6789101112
13141516171819
20212223242526
2728293031