Results 1 to 5 of 5

Thread: [RESOLVED] MYSQL Setting

  1. #1

    Thread Starter
    Frenzied Member oceanebelle's Avatar
    Join Date
    Jun 2005
    Location
    my n00k.
    Posts
    1,064

    Resolved [RESOLVED] MYSQL Setting

    What setting or steps needs to be done such that the
    LOCALHOST value for the DBHost in MYSQL will be disabled? (That is, those connecting, like PHP, should use the actual HOST IP Address)

    sorry this is a settings problem and since MYsql is almost always coupled with PHP i thought i should raise this one here.

    Help will be much appreciated.

  2. #2
    I'm about to be a PowerPoster!
    Join Date
    Jan 2005
    Location
    Everywhere
    Posts
    13,647

    Re: MYSQL Setting

    For MySQL, you need to add the --skip-name-resolve option either to the command line parameters of the MySQL service or in my.ini.

    I am not sure if this disables name resolution from the PHP MySQL connector though.

    Seems a strange issue?

  3. #3
    Kitten CornedBee's Avatar
    Join Date
    Aug 2001
    Location
    In a microchip!
    Posts
    11,594

    Re: MYSQL Setting

    Shouldn't the mysql extension never resolve localhost in the first place but use it as the trigger to access the Unix domain socket?

    What do you actually want to achieve, and perhaps more importantly in this case, why do you want to achieve it?
    All the buzzt
    CornedBee

    "Writing specifications is like writing a novel. Writing code is like writing poetry."
    - Anonymous, published by Raymond Chen

    Don't PM me with your problems, I scan most of the forums daily. If you do PM me, I will not answer your question.

  4. #4

    Thread Starter
    Frenzied Member oceanebelle's Avatar
    Join Date
    Jun 2005
    Location
    my n00k.
    Posts
    1,064

    Re: MYSQL Setting

    I am not particularly knowledgeable in this subject... but just last week, we connected to mysql using localhost then a few days ago it was not able to connect anymore. i just want to know what settings used ( i guess like pg mentioned ) in the my.ini.

    so for connecting to localhost the ip address must be specified.

  5. #5
    Kitten CornedBee's Avatar
    Join Date
    Aug 2001
    Location
    In a microchip!
    Posts
    11,594

    Re: [RESOLVED] MYSQL Setting

    Perhaps the mysql server was completely down?
    All the buzzt
    CornedBee

    "Writing specifications is like writing a novel. Writing code is like writing poetry."
    - Anonymous, published by Raymond Chen

    Don't PM me with your problems, I scan most of the forums daily. If you do PM me, I will not answer your question.

Posting Permissions

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



Click Here to Expand Forum to Full Width