ISPsystem.com Forums

ISPsystem.com Forums (http://forum.ispsystem.com//index.php)
-   Troubleshooting (http://forum.ispsystem.com//forumdisplay.php?f=11)
-   -   enable external mysql connection on :3306 (http://forum.ispsystem.com//showthread.php?t=819)

sascha 11-22-2009 12:28 PM

enable external mysql connection on :3306
 
hi,

i use ispmanager pro. how can i enable connections to mysql port 3306 to connect to the db with external programms?

thx
sascha

slava 11-22-2009 01:19 PM

You need enable "Allow remote access" checkbox in the database user properties.

sascha 11-27-2009 06:18 PM

ok, i´ve enabled it, but still


PORT STATE SERVICE
3306/tcp closed mysql

i've restart the server, but nothing changes

thx

slava 11-27-2009 07:35 PM

By default MySQL listen all this port. Possible firewall or internet provider blocked this.
What's show command
Code:

netstat -na | grep 3306
?

sascha 11-28-2009 11:09 AM

the firewall is off.

ispmanager:~# netstat -na | grep 3306
tcp 0 0 127.0.0.1:3306 0.0.0.0:* LISTEN

sascha 12-01-2009 09:12 PM

i am confused :) look this:

ispmanager:~# nmap localhost -p3306

Starting Nmap 4.62 ( http://nmap.org ) at 2009-12-01 19:45 CET
Interesting ports on localhost (127.0.0.1):
PORT STATE SERVICE
3306/tcp open mysql

********

ispmanager:~# nmap 80.XXX.XXX.XXX -p3306

Starting Nmap 4.62 ( http://nmap.org ) at 2009-12-01 19:45 CET
Interesting ports on dedicaXXXXXXXXXXXXXXXXX
PORT STATE SERVICE
3306/tcp closed mysql

both scans are from the server itself. when is use its server own ip, the port is closed, if i used loacalhost, everything is ok??

my firewall is of, and the provider has no firewall !

greets
sascha

sascha 12-03-2009 03:27 PM

no idea? from anyone?

tanya 12-14-2009 07:22 AM

Hi,

You should delete the string "bind-address =" from the file /etc/my.cnf

sascha 12-19-2009 07:32 PM

thats it :)
 
thats it, thx :)


All times are GMT +2. The time now is 03:24 PM.

Powered by vBulletin® Version 3.8.9
Copyright ©2000 - 2024, vBulletin Solutions, Inc.