Last updated 22 August 2016. Created on 18 December 2007.
Edited by rhuffstedtler, Francewhoa, LeeHunter, JuliaKM. Log in to edit this page.

Drupal includes the Database Logging module, which logs and records system events to the database. When database logging is enabled, you can go to /admin/reports/dblog on your site and see recent log entries.

If, on the other hand, the Syslog module is enabled, you will find the log messages in your standard operating system logs. See for details.

The following pages provide information about error messages that you might encounter in your Drupal logs.

Looking for support? Visit the forums, or join #drupal-support in IRC.


drupal newer’s picture

PDOException: SQLSTATE[HY000] [1130] Host '' is not allowed to connect to this MySQL server in lock_may_be_available() (line 167 of /home/a2091477/public_html/includes/
this is my website's error, how to solve it.

sakerman’s picture

I had the same issue with one of my sites, if you rewrite everything to a backup file and go ahead and implement the backup to your main folder and overwrite, delete sever cache you should have no issue at all on the other hand you can always do a full script update but you will need to tweak all your customization etc.. if you have any.I have found the backup options to work best for me I have actually implemented it on my commercial escalera lifts website and it worked like a charm for me.