Re: Apache, PHP4, MySQL installation

From: Date: Fri, 05 Nov 2004 21:51:26 +0000
Subject: Re: Apache, PHP4, MySQL installation
References: 1  Groups: php.windows 
Request: Send a blank email to php-windows+get-24913@lists.php.net to get a copy of this message
Hello Alex, No errors, just not the results I want. I run the following script: <? echo "DB connection testing !"; $mySQL = @mysql_connect("localhost", "user", "password") or exit(); echo "DB selecting !"; if (!mysql_select_db("my")) exit(); echo "DB connection okay !"; ?> I only see the string DB connection testing. Regards, Jeroen ""Alejandro césar garrammone"" <agarrammone@afip.gov.ar> wrote in message news:009101c4c364$3b3dfa80$aff7150a@afip.gov.ar... I don't know what problem could you have...please put some code, or error. You can access to the database using the console of mysql? Best Regards, Alex ----- Original Message ----- From: "Jeroen" <jschoot@lycos.nl> To: <php-windows@lists.php.net> Sent: Friday, November 05, 2004 2:52 PM Subject: [PHP-WIN] Apache, PHP4, MySQL installation > Hello, > > I installed Apache 2.0.52 en PHP4.3.9 on a Windows XP SP2 machine. > Everything runs fine. > I also installed MySQL 4.1 and it also runs fine. > > However when I try to connect to a exisiting database from within a PHP > script it fails. > > I followed several installation tutorials on the net but nu success sofar. > > Any ideas? > > Regards, > > Jeroen > > -- > PHP Windows Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php >

« previous php.windows (#24913) next »