|
Posted by Jerry Stuckle on 04/26/06 16:07
janvdberg@gmail.com wrote:
> Hi Erwin,
>
> thanks for the reply. I have about 2500 user websites running with all
> kinds of scripts.
> To migrate I really would need localhost to become something like
> mysql.host.com using a network socket: because changing the connection
> string (if even possible) would mean altering a user website which
> would cause it not to work anymore on the current server and this
> wouldnt allow for a seemless migration.
> I dont see a problem with changing the localhost meaning just for PHP.
> So Im guessing that this is probably something that I should hack into
> the source?
>
> Jan
>
Jan,
I feel your pain. But as others have said, it is NOT a good idea. What about
those sites which use localhost for something other than mysql, also? If you
changed localhost, all that would break, also.
localhost is meant to be specifically the local machine - that's what it's there
for. And you really need to leave it that way.
I agree with Erwin - talk to your webmasters. And no migration like your doing
is "seamless".
I also agree with Colin - this is WAY off topic and has nothing to do with PHP.
--
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
jstucklex@attglobal.net
==================
Navigation:
[Reply to this message]
|