Posted by Bruce A. Julseth on 09/26/05 19:38
I do my development on a local machine with "localhost" as my mysql server.
And, of course, I have different server when in production. So that I don't
have to modify my code when I promote, I first connect to my production
server. If that fails, I connect to my local server. Is this the best way,
or is there a better way? Is there a way to detect which MySQL server is
currently available to me?
Thanks...
[Back to original message]
|