[Koha-bugs] [Bug 13669] Web installer fails to load sample data on MySQL 5.6+

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Sat May 21 14:33:59 CEST 2016


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=13669

--- Comment #46 from Jonathan Druart <jonathan.druart at bugs.koha-community.org> ---
Created attachment 51685
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=51685&action=edit
Bug 13669: Catch the errors to have them to the logs

This patch redirect STDERR to a variable to retrieve the errors raised
by the DBMS when loading a sql file, it could be useful to debug errors.

Signed-off-by: Bernardo Gonzalez Kriegel <bgkriegel at gmail.com>
It's better of course, trying to load a failed fiel
it outputs mysl errors
DBD::mysql::st execute failed: You have an error in your SQL syntax...
No errors

Signed-off-by: Jonathan Druart <jonathan.druart at bugs.koha-community.org>

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list