Go Back   Linux Forums by TotalPenguin! Get linux Help! > Linux > Linux Networking

Linux Networking This forum is for Linux Networking Only. Routing, servers, etc.

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 05-01-2008, 01:07 PM
Member
 
Join Date: Jan 2007
Posts: 92
Prog is on a distinguished road
Default Disable MySQL 3306 port

How/where can I disable the MySQL DB from accepting TCP inbound connections to the 3306 port?
Reply With Quote

Sponsored Links
  #2 (permalink)  
Old 05-01-2008, 07:47 PM
Junior Member
 
Join Date: May 2008
Posts: 8
dml1978 is on a distinguished road
Default

The following steps should disable the MySQL service from listening for connections on the default port 3306.
  1. Stop the NetProwler Manager and any NetProwler Consoles (if running).
  2. Run Notepad.
  3. Open the file c:\my.cnf
  4. The file should contain two lines

    [mysqld]
    basedir=c:\\mysql
  5. Add the line "skip-networking", so the file should look like:

    [mysqld]
    basedir=c:\\mysql
    skip-networking
Save the file and exit notepad.
Disabling access to MySQL via SMB
  1. From the Start menu, choose Control Panel
  2. Double-click the Services icon.
  3. Select Computer Browser from the list of services. Click the Startup button. Set the Startup Type to "Disabled" and click Ok.
  4. Repeat Step 3, for the Server service.
  5. Restart the workstation.
Reply With Quote
  #3 (permalink)  
Old 05-02-2008, 12:08 AM
Senior Member
 
Join Date: Jan 2007
Posts: 109
Hektor is on a distinguished road
Default

I think in Linux you have to edit the file /etc/my.cnf.
Reply With Quote
  #4 (permalink)  
Old 05-13-2008, 07:49 PM
Junior Member
 
Join Date: May 2008
Posts: 8
dml1978 is on a distinguished road
Default

I don't know if you have to change it the instructions I posted is what worked for a friend of mine thats what she was told to do my her husbands friend so not sure.
Reply With Quote
  #5 (permalink)  
Old 09-24-2008, 01:16 PM
Jordan's Avatar
Administrator
 
Join Date: Nov 2006
Posts: 533
Jordan is on a distinguished road
Default

What do you want to try to stop?
Reply With Quote

Sponsored Links
Reply

Tags
mysql, port

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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 On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Disable startup sound? Halo Mac OS X 6 12-01-2008 12:44 PM
MySQL Version Tor Linux Applications 9 02-22-2008 07:23 AM
MySQL Root Password Prog Linux Applications 1 10-08-2007 08:38 PM
.SQL into MySQL Lop Linux Applications 3 08-14-2007 07:01 PM


All times are GMT. The time now is 01:49 PM.


Powered by vBulletin® Version 3.7.0
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.