tclogo



HotelsCombined.com

Pages

Archives

Categories


Recent Postings

Recent Comments

Feeds

RSS2 feed

Links

Most Popular Posts

Annoying MySQL Fatal error

Tuesday, 25th July 2006 9:38pm
Following my recent re-installation of Windows I had to install a new instance of Apache. I got PHP working alright but on trying to access my MySQL database through a login script I got this error: Fatal error: Call to undefined function mysql_connect() in C:\webroot\MySqlConnector.php on line 26.


To resolve this I had to copy the libmysql.dll to the Apache Group\Apache2\bin\ folder. I found this to be very unusual since I have never needed to do this before. The most important thing is that the issue is now gone.

Post a comment:

 

(required)

(required, but not published)

(optional)





Notify me of follow-up comments via e-mail