This is the error due to the MySQL problem when you are trying to access it from PHP Script. To fix this issue you need to perform these steps:
– go to your PHP install directory and rename libmysql.dll to libmysql.old
– head to www.php.net/releases/ and grab 5.2.1 Windows?linux Binary download [depends upon your web server OS and PHp Version]
– open the zip
– copy libmysql.dll to PHP installed directory.