Latest LQ Deal: Latest LQ Deals
Go Back > Forums > Linux Forums > Linux - Security
User Name
Linux - Security This forum is for all security related questions.
Questions, tips, system compromises, firewalls, etc. are all included here.


  Search this Thread
Old 05-03-2010, 12:51 AM   #1
LQ Newbie
Registered: May 2009
Location: Maldives
Distribution: CentOS
Posts: 2

Rep: Reputation: 0
CentOS Firewall blokes MySQL connection from outside PC

Dear Geeks,

I have installed VMWare inside Windows Server 2003 and inside the VMWare I have Installed CentOS,

I am successfully running a web server for local staff to access in this i use Webmin, mySQL, PHP.. my server is working normally.

Now I want to access the MySQL server from another WinXP PC (I have installed MYSQL ODBC 5.1 driver) to access the database to create ODBC connection, unfortunately I can not connect it says "Connection Failed: [HY000][MySQL][ODBC 5.1 Driver]Can't connect to MySQL server on '' (10060)"

I think this is firewall issue or its CentOS is not letting the connection to come in.

Please help me to solve this problem.

Thank You,
Safras Ahamed.
Old 05-03-2010, 02:34 AM   #2
LQ Newbie
Registered: May 2009
Location: Maldives
Distribution: CentOS
Posts: 2

Original Poster
Rep: Reputation: 0
Hi Geeks,

Sorry, I have fond it by my self,

I went to system-config-securitylevel
and added the port mysqlport:tcp,mysqld:tcp

and now it is conected


driver, mysql, odbc

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
error in installing mysql i.e. mysql-5.1.34-linux-powerpc-glibc23 in centos 4.4 i686 pankajd Linux - Newbie 1 06-07-2009 02:00 PM
Centos Firewall...needed if already behind a firewall? JohnRock Linux - Networking 7 05-22-2009 02:49 PM
Mysql giving max connection errors, server has no connection limit. Jukas Linux - Server 1 03-26-2008 04:06 AM
CentOS 4.3 Outside of Firewall msound Linux - Security 1 08-22-2006 07:58 PM
Mysql Error: Lost Connection to Mysql during query ramnath Programming 5 11-18-2003 12:27 PM > Forums > Linux Forums > Linux - Security

All times are GMT -5. The time now is 04:05 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration