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

Notices


Reply
  Search this Thread
Old 10-13-2003, 02:53 PM   #1
IgD
Member
 
Registered: Mar 2002
Location: Parts unknown
Posts: 37

Rep: Reputation: 15
MySQL and tunneling


How can I set up my server (MySQL running on a Linux box on port 3306) to refuse connection on any non-tunneled traffic?

I don't want anyone to be able to connect to the machine in a non-secure manner.

Thanks!
 
Old 10-13-2003, 09:31 PM   #2
IgD
Member
 
Registered: Mar 2002
Location: Parts unknown
Posts: 37

Original Poster
Rep: Reputation: 15
I figured it out... In the mysql config file I had to uncomment this line:

#bind-address=127.0.0.1

(This forces MySQL in local loopback mode)
 
Old 10-14-2003, 07:25 AM   #3
trickykid
LQ Guru
 
Registered: Jan 2001
Posts: 24,149

Rep: Reputation: 270Reputation: 270Reputation: 270
Thanks for following up and posting the solution. It may come helpful to others that come across this themselves.
 
  


Reply



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
mysql error Can't connect to local MySQL server through socket '/var/lib/mysql/mysql. Dannux Linux - Software 3 03-24-2006 08:44 AM
Tunneling Randvegeta Linux - Networking 4 09-21-2005 10:42 AM
incoming tunneling or tunneling via a 3rd party? JustinHoMi Linux - Networking 1 04-15-2005 01:57 PM
MySQL, OpenSSH and Tunneling IgD Linux - Security 1 09-30-2003 08:02 PM
what is IP tunneling? Hano Linux - Networking 1 04-23-2002 11:27 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Security

All times are GMT -5. The time now is 03:19 PM.

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