Details
-
New Feature
-
Status: Closed (View Workflow)
-
Major
-
Resolution: Won't Do
-
1.0.11
-
None
-
Centos 7
Description
in the my.conf file
# The MySQL server
|
[mysqld]
|
# Bind to the local address for this machine (thus preventing external connections)
|
bind-address = 192.168.0.53
|
port = 3306
|
[root@idb2 ~]# netstat -tulpn | grep Proc
|
tcp 0 0 0.0.0.0:8604 0.0.0.0:* LISTEN 1807/ProcMon
|
tcp 0 0 0.0.0.0:8800 0.0.0.0:* LISTEN 1807/ProcMon
|
[root@idb2 ~]# netstat -tulpn | grep mysql
|
tcp 0 0 192.168.0.53:3306 0.0.0.0:* LISTEN 3155/mysqld
|
note how mysql is on internal only but ProcMon is wide open to connection from anywhere