From: Jorge Bastos Date: February 13 2007 10:44am Subject: Re: No output after mysql_connect List-Archive: http://lists.mysql.com/win32/18632 Message-Id: <209e01c74f5b$f6f220f0$0301a8c0@hercules.decimalint.pt> MIME-Version: 1.0 Content-Type: text/plain; format=flowed; charset="iso-8859-1"; reply-type=response Content-Transfer-Encoding: 7bit So your mysql.so php extention isn't beeing loaded do you have libmysql.dll in windows PATH ? ----- Original Message ----- From: "Dinesh Kumar" To: "Tobin Cataldo" Cc: Sent: Tuesday, February 13, 2007 5:34 AM Subject: Re: No output after mysql_connect > Hi > I have checked the web server log. It contains following error: > > [Tue Feb 13 10:54:57 2007] [error] [client 172.16.16.50] PHP > Fatal error: Call to undefined function mysql_connect() in C:\\Program > Files\\Apache Software Foundation\\Apache2.2\\htdocs\\index.php on line 5, > referer: http://172.16.16.50/ > > Dinesh > ----- Original Message ----- > From: "Tobin Cataldo" > >> This is probably not a MySQL issue... >> Set your error.log in your php.ini. If you have already set that then the >> error should show up there. Also check the web server log for errors. > ---------------------------------------------------------------------- >> > echo 'Hello World'; >> $con = mysql_connect('localhost', 'dinesh', 'dinesh'); >> if (!$con) >> { >> die('Could not connect: ' . mysql_error()); >> } >> echo 'connected'; >> ?> >> ------------------------------------------------------------------------ > > > -- > MySQL Windows Mailing List > For list archives: http://lists.mysql.com/win32 > To unsubscribe: > http://lists.mysql.com/win32?unsub=mysql.jorge@stripped > >