Recent Postings

Recent Comments


RSS2 feed


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, but not published)


Notify me of follow-up comments via e-mail