View Single Post

   
  #3 (permalink)  
Old 02-28-2008, 09:24 AM
profke
 
Posts: n/a
Default Re: What does 'Init DB' mean in the log?

Hi Axel,

> I guess you're talking about the general log of the MySQL server.


That's right.

> 'Init DB' is logged for the mysql_select_db() API call.


Ah! Ok...

> Probably there is more impact on the performance by enabling the
> general log than by having those mysql_select_db(). If you want to
> spot bad queries, turn on the slow query log:http://dev.mysql.com/doc/refman/5.0/...query-log.html


I guest as much. Still, it is nice to know for sure! And I like to
know what is happening om my servers, and, more importantly, for what
reason. :-)

Thank you for your elaborate answer!

Paul

Reply With Quote