Re: Windows 2000, XP and ME difference

From: Date: Wed, 04 Dec 2002 18:53:20 +0000
Subject: Re: Windows 2000, XP and ME difference
References: 1  Groups: php.windows 
Request: Send a blank email to php-windows+get-17268@lists.php.net to get a copy of this message
Jim, > I am running PHP and MySQL on the following platforms;Windows 2000, XP and > ME and I am finding that the same code does not work. Can some one please > explain this to me? > It fails on the connect string every time. Is there a reason for this? > > Windows 2000 = No work > XP = No work > ME = Does work > > $connection = @mysql_connect("localhost", "myUserName", > "MyPassword") > or die("Couldn't connect."); If the other machines are to connect to MySQL on the ME box, then "localhost" isn't going to work - but you don't mean that, you have three separate but almost identical installations, don't you? Have all three machines been set up with the same userId and pswd, so there's no issue there? On each machine, and using that/those ID/pswds, can you connect to a DB/tbl by using the command line client or MySQLControlCenter? Rather than using DIE, what happens if you ask for the error number and text? Please advise, =dn

« previous php.windows (#17268) next »