[TYPO3-dev] mysql errors log

Franz Holzinger franz at ttproducts.de
Tue Jan 17 08:25:40 CET 2012


On 17/01/12 00:51, Vladimir Podkovanov wrote:

> Does anybody know if there is a reason why SQL errors only can be
> displayed in the UA and can't be logged to devlog, syslog or whatever.
>
> It is especially important because MYSQL also doesn't offer logging SQL
> query errors.
> Without such log I can't check if all are working right in production.

I always use the extension debug_mysql_db to show the SQL errors. This 
also shows the backtrace to the PHP files from where the SQL query has 
been called.

- Franz



More information about the TYPO3-dev mailing list