
I am installing OTRS 2.1.2. I am trying to enable Debug mode while connecting to the database. I have set in Config.pm $Self->{Debug} = 3; But it has no effects. What should be set ?
You should be set to "5". Of course, you have to create logfile in filesystem, and configure Config.pm.
It outputs debug information in apache logs not in otrs logs as I expected. I did not find logs from Kernel::System::DB::connect() function. I have an issue while connecting to the database server : installer.pl: DBI connect('database=;host=localhost;','root',...) failed: Can't connect to local MySQL server through socket ''/var/run/mysqld/mysqld.sock'' (2) at /opt/otrs/bin/cgi-bin/../../Kernel/Modules/Installer.pm line 200 MySQL server is running and I can do query with mysql client. I can also use phpMyAdmin. Regards. Eric