|
-
Dec 4th, 2006, 03:59 AM
#1
Thread Starter
Frenzied Member
[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.
-
Dec 4th, 2006, 04:40 AM
#2
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?
-
Dec 4th, 2006, 06:28 PM
#3
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.
-
Dec 6th, 2006, 01:10 AM
#4
Thread Starter
Frenzied Member
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.
-
Dec 6th, 2006, 05:19 AM
#5
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
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|