SitePoint Sponsor

User Tag List

Results 1 to 2 of 2
  1. #1
    SitePoint Zealot
    Join Date
    Apr 2009
    Location
    Wenatchee, WA
    Posts
    101
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    'skip_networking'

    Hello,

    I have a question regarding this particular option in the config file. As I understand it, this disables networking entirely, so mysqld doesn't listen on any port on any interface, just via sockets/pipes. Correct so far?

    If I have a database on a local machine, and want to be able to access it from php scripts on a webserver on that same machine (say, phpmyadmin, or from php in my web pages)... will that work, or do I have to enable networking? Will php be able to 'find' mysqld if it isn't listening on a network port?

    TIA,

    Monte

  2. #2
    SitePoint Zealot j3ph's Avatar
    Join Date
    Jan 2006
    Posts
    134
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Mysql will not be accessible if you use skip_networking....I think. You can always control the hosts that are allowed to connect via the user table in the mysql database. Just set the host to localhost and then remote db connections won't be allowed.


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
  •