Thank you for visiting the Rackspace Community
The The Community is live! Post new content or topics so our teams can assist.

Please contact your support team if you have a question or need assistance for any Rackspace products, services, or articles.

How can I access to MySql error log?

As the title says, I'm trying to access mysql error log. I've read http://www.rackspace.com/knowledge_center/article/access-slow-query-and-general-logs-for-cloud-databases but doesn't cover error log case.

Thanks

Parents
No Data
Reply
  • Check mysql error log
    1. To enable error log add following [mysqld_safe] log_error=/var/log/mysql/mysql_error. log [mysqld] log_error=/var/log/mysql/mysql_error. ...
    2. To enable general query log add following general_log_file = /var/log/MySQL/MySQL
    3. To enable Slow Query Log add following log_slow_queries = /var/log/MySQL/MySQL

    Using this you can get the solution of your problem. If anyone is facing problem regarding Netgear, they can take help from Netgear Support, I also get help from here.

Children
No Data