Closed Thread
Results 1 to 5 of 5

Thread: Disable MySQL 3306 port

  1. #1
    Prog is offline Learning Programmer
    Join Date
    Jan 2007
    Posts
    98
    Rep Power
    0

    Disable MySQL 3306 port

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

  2. CODECALL Circuit advertisement
    Join Date
    Always
    Posts
    Many

     
  3. #2
    dml1978 is offline Newbie
    Join Date
    May 2008
    Posts
    8
    Rep Power
    0
    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.

  4. #3
    Hektor is offline Programmer
    Join Date
    Jan 2007
    Posts
    126
    Rep Power
    0
    I think in Linux you have to edit the file /etc/my.cnf.

  5. #4
    dml1978 is offline Newbie
    Join Date
    May 2008
    Posts
    8
    Rep Power
    0
    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.

  6. #5
    Jordan Guest
    What do you want to try to stop?

Closed Thread

Thread Information

Users Browsing this Thread

There are currently 2 users browsing this thread. (0 members and 2 guests)

Similar Threads

  1. Disable a button
    By reachpradeep in forum ASP, ASP.NET and Coldfusion
    Replies: 3
    Last Post: 04-19-2010, 03:45 AM
  2. disable keys
    By gor in forum Pascal and Delphi
    Replies: 2
    Last Post: 12-10-2009, 04:10 AM
  3. disable
    By YAR in forum C# Programming
    Replies: 3
    Last Post: 12-29-2008, 10:45 AM
  4. Disable internet
    By pankaj2007 in forum Java Help
    Replies: 1
    Last Post: 04-23-2007, 09:28 AM
  5. C# to disable a device
    By NeedHelp in forum C# Programming
    Replies: 4
    Last Post: 07-24-2006, 12:34 PM

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts