CiviCRM Community Forums (archive)

*

News:

Have a question about CiviCRM?
Get it answered quickly at the new
CiviCRM Stack Exchange Q+A site

This forum was archived on 25 November 2017. Learn more.
How to get involved.
What to do if you think you've found a bug.



  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM (Moderator: Dave Greenberg) »
  • How to remove/drop all log_civicrm_ tables
Pages: [1]

Author Topic: How to remove/drop all log_civicrm_ tables  (Read 766 times)

pst_manly

  • I’m new here
  • *
  • Posts: 19
  • Karma: 0
  • CiviCRM version: 3.3
  • CMS version: 6.19
  • MySQL version: 5.0.45
  • PHP version: 5.2.13
How to remove/drop all log_civicrm_ tables
February 25, 2011, 03:28:54 pm
I recently enabled reporting and logging in civicrm. And I want to disable it.

My problem now is I haven't seen a way to drop all those log_civicrm_* tables properly.

Anyone can guide?

CiviTeacher.com

  • I live on this forum
  • *****
  • Posts: 1282
  • Karma: 118
    • CiviTeacher
  • CiviCRM version: 3.4 - 4.5
  • CMS version: Drupal 6&7, Wordpress
  • MySQL version: 5.1 - 5.5
  • PHP version: 5.2 - 5.4
Re: How to remove/drop all log_civicrm_ tables
March 09, 2011, 09:40:28 am
Don't drop them.  Just empty them.

You can use the TRUNCATE command in mysql or PHPMyAdmin.
Try CiviTeacher: the online video tutorial CiviCRM learning library.

pst_manly

  • I’m new here
  • *
  • Posts: 19
  • Karma: 0
  • CiviCRM version: 3.3
  • CMS version: 6.19
  • MySQL version: 5.0.45
  • PHP version: 5.2.13
Re: How to remove/drop all log_civicrm_ tables
March 25, 2011, 08:09:18 am
Why say truncate when you can't even truncate those kind of table storage type?

Was it really possible? I want to know the proper way.

Thanks
Quote
Query : TRUNCATE TABLE log_civicrm_mapping_field 
Error Code : 1031
Table storage engine for 'log_civicrm_mapping_field' doesn't have this option

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM (Moderator: Dave Greenberg) »
  • How to remove/drop all log_civicrm_ tables

This forum was archived on 2017-11-26.