Welcome Guest, Not a member yet? Register   Sign In
How to log MySQL errors to the error file?
#1

[eluser]MatteMatte[/eluser]
Hi Guys,

I have a website powered by CI. In CI, three connections are being made to three different databases at the same time. I wonder how can I log MySQL errors occurring to the log file from all those 3 database connections?

Following config parameters are already set and enabled:

Code:
$config['log_threshold'] = 1;
$config['log_path'] = '/path/to/log/dir';
Any suggestions?


Messages In This Thread
How to log MySQL errors to the error file? - by El Forum - 08-02-2010, 12:49 AM
How to log MySQL errors to the error file? - by El Forum - 08-02-2010, 04:17 AM
How to log MySQL errors to the error file? - by El Forum - 08-02-2010, 04:19 AM



Theme © iAndrew 2016 - Forum software by © MyBB