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 »
  • Using Core CiviCRM Functions (Moderator: Yashodha Chaku) »
  • wants super db privilege??
Pages: [1]

Author Topic: wants super db privilege??  (Read 868 times)

JoeMurray

  • Administrator
  • Ask me questions
  • *****
  • Posts: 578
  • Karma: 24
    • JMA Consulting
  • CiviCRM version: 4.4 and 4.5 (as of Nov 2014)
  • CMS version: Drupal, WordPress, Joomla
  • MySQL version: MySQL 5.5, 5.6, MariaDB 10.0 (as of Nov 2014)
wants super db privilege??
February 24, 2010, 11:55:33 am
A site that has been working fine for several months suddenly complains whenever an attempt is made to save a contact:

unrecoverable error
    Sorry. A non-recoverable error has occurred.

    DB Error: a515ac9c2796ca0e23adbe92c68fc9fc

    Database Error Code: Access denied; you need the SUPER privilege for this operation, 1227

    Return to home page.

Error Details:

Array
(
    [callback] => Array
        (
           
  • => CRM_Core_Error
  • [1] => handle
            )

       
Code: [Select]
=> a515ac9c2796ca0e23adbe92c68fc9fc
    [message] => DB Error: a515ac9c2796ca0e23adbe92c68fc9fc
    [mode] => 16
    [debug_info] => UPDATE  civicrm_contact_en_US  SET contact_type = 'Individual' , do_not_email = 0 , do_not_phone = 0 , do_not_mail = 0 , do_not_sms = 0 , do_not_trade = 0 , is_opt_out = 0 , external_identifier = NULL , sort_name = 'Jansen, Alex' , display_name = 'Alex Jansen' , nick_name = NULL , home_URL = 'http://www.popsandbox.com' , preferred_communication_method = '' , preferred_mail_format = 'Both' , source = NULL , first_name = 'Alex' , middle_name = NULL , last_name = 'Jansen' , prefix_id = NULL , suffix_id = NULL , email_greeting_id = NULL , email_greeting_custom = NULL , postal_greeting_id = NULL , postal_greeting_custom = NULL , addressee_id = NULL , addressee_custom = NULL , job_title = 'President' , gender_id = NULL , birth_date = NULL , is_deceased = 0 , deceased_date = NULL , mail_to_household_id = NULL   WHERE (  civicrm_contact_en_US.id = 10413 )   [nativecode=1227 ** Access denied; you need the SUPER privilege for this operation]
    [type] => DB_Error
    [user_info] => UPDATE  civicrm_contact_en_US  SET contact_type = 'Individual' , do_not_email = 0 , do_not_phone = 0 , do_not_mail = 0 , do_not_sms = 0 , do_not_trade = 0 , is_opt_out = 0 , external_identifier = NULL , sort_name = 'Jansen, Alex' , display_name = 'Alex Jansen' , nick_name = NULL , home_URL = 'http://www.popsandbox.com' , preferred_communication_method = '' , preferred_mail_format = 'Both' , source = NULL , first_name = 'Alex' , middle_name = NULL , last_name = 'Jansen' , prefix_id = NULL , suffix_id = NULL , email_greeting_id = NULL , email_greeting_custom = NULL , postal_greeting_id = NULL , postal_greeting_custom = NULL , addressee_id = NULL , addressee_custom = NULL , job_title = 'President' , gender_id = NULL , birth_date = NULL , is_deceased = 0 , deceased_date = NULL , mail_to_household_id = NULL   WHERE (  civicrm_contact_en_US.id = 10413 )   [nativecode=1227 ** Access denied; you need the SUPER privilege for this operation]
    [to_string] => [db_error: message="DB Error: a515ac9c2796ca0e23adbe92c68fc9fc" code=0 mode=callback callback=CRM_Core_Error::handle prefix="" info="UPDATE  civicrm_contact_en_US  SET contact_type = 'Individual' , do_not_email = 0 , do_not_phone = 0 , do_not_mail = 0 , do_not_sms = 0 , do_not_trade = 0 , is_opt_out = 0 , external_identifier = NULL , sort_name = 'Jansen, Alex' , display_name = 'Alex Jansen' , nick_name = NULL , home_URL = 'http://www.popsandbox.com' , preferred_communication_method = '' , preferred_mail_format = 'Both' , source = NULL , first_name = 'Alex' , middle_name = NULL , last_name = 'Jansen' , prefix_id = NULL , suffix_id = NULL , email_greeting_id = NULL , email_greeting_custom = NULL , postal_greeting_id = NULL , postal_greeting_custom = NULL , addressee_id = NULL , addressee_custom = NULL , job_title = 'President' , gender_id = NULL , birth_date = NULL , is_deceased = 0 , deceased_date = NULL , mail_to_household_id = NULL   WHERE (  civicrm_contact_en_US.id = 10413 )   [nativecode=1227 ** Access denied; you need the SUPER privilege for this operation]"]
)

I don't know of any changes that have been made to version of MySQL etc. or to db user. I've checked and the MySQL user has all privileges on the database. Any suggestions for tracking down what the issue might be?

Cheers,
Joe
Co-author of Using CiviCRM https://www.packtpub.com/using-civicrm/book

Kurund Jalmi

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4169
  • Karma: 128
    • CiviCRM
  • CiviCRM version: 4.x, future
  • CMS version: Drupal 7, Joomla 3.x
  • MySQL version: 5.5.x
  • PHP version: 5.4.x
Re: wants super db privilege??
February 24, 2010, 11:59:17 am
In order to run triggers you need super user privilege for your db user.

This might help: http://www.devtoolshed.com/content/create-trigger-mysql-50-super-privilege-required

Kurund
Found this reply helpful? Support CiviCRM

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using Core CiviCRM Functions (Moderator: Yashodha Chaku) »
  • wants super db privilege??

This forum was archived on 2017-11-26.