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 »
  • Installing CiviCRM »
  • Drupal Installations (Moderator: Piotr Szotkowski) »
  • Drupal 7 - CiviCRM 4.3.4 - Error - Could not create a trigger.
Pages: [1]

Author Topic: Drupal 7 - CiviCRM 4.3.4 - Error - Could not create a trigger.  (Read 6324 times)

osxxso

  • I’m new here
  • *
  • Posts: 3
  • Karma: 0
  • CiviCRM version: 4.3
  • CMS version: Drupal 7
  • MySQL version: 5.1
  • PHP version: 5.3
Drupal 7 - CiviCRM 4.3.4 - Error - Could not create a trigger.
July 06, 2013, 03:26:07 am
After clicking the 'Check Requirements and Install CiviCRM' button I get one RED highlighted error under 'CiviCRM Database Details'

Can I create triggers in the database --> Could not create a trigger.

Everything else is OK green.

I tried a Google search and tried searching this forum.  Unable to find a clear solution.

Can anyone help?  Thanks in advance.   Stefan

Hershel

  • Forum Godess / God
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4640
  • Karma: 176
    • CiviHosting
  • CiviCRM version: Latest
  • CMS version: Mostly WordPress and Drupal
Re: Drupal 7 - CiviCRM 4.3.4 - Error - Could not create a trigger.
July 06, 2013, 01:08:24 pm
CiviCRM requires (see http://civicrm.org/aboutcivicrm ) MySQL 5.1.x+ with InnoDB support the DB user needs the privilege of creating triggers. Ask your host about this.
CiviHosting and CiviOnline -- The CiviCRM hosting experts, since 2007

See here for the official: What to do if you think you've found a bug.

osxxso

  • I’m new here
  • *
  • Posts: 3
  • Karma: 0
  • CiviCRM version: 4.3
  • CMS version: Drupal 7
  • MySQL version: 5.1
  • PHP version: 5.3
Re: Drupal 7 - CiviCRM 4.3.4 - Error - Could not create a trigger.
July 07, 2013, 02:41:49 am
Contacted my host and InnoDB is supported and should be working just fine.  Attached a screenshot ( maybe it will help? ).

Performed another test and I still get the same single error. 

Could it be something else?

Thanks.


Hershel

  • Forum Godess / God
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4640
  • Karma: 176
    • CiviHosting
  • CiviCRM version: Latest
  • CMS version: Mostly WordPress and Drupal
Re: Drupal 7 - CiviCRM 4.3.4 - Error - Could not create a trigger.
July 07, 2013, 04:35:05 am
Please read my post again. I wrote you need the privilege of creating triggers. Ask your host about that.
CiviHosting and CiviOnline -- The CiviCRM hosting experts, since 2007

See here for the official: What to do if you think you've found a bug.

Carlo Landmeter

  • I post occasionally
  • **
  • Posts: 31
  • Karma: 3
Re: Drupal 7 - CiviCRM 4.3.4 - Error - Could not create a trigger.
December 10, 2013, 07:01:24 am
I just bumped into this issue and found the following to be helpful:

When binary logging is enabled the server must be running with the --log-bin-trust-function-creators option turned on in order to allow trigger creation without super (i.e. trigger permission).

Or you can add it to my.cnf:

log-bin-trust-function-creators = 1

This is of course when you are running your own mysql server.

senyak

  • I’m new here
  • *
  • Posts: 1
  • Karma: 0
  • CiviCRM version: TBD
  • CMS version: Drupal
  • MySQL version: Multiple
  • PHP version: Multiple
Re: Drupal 7 - CiviCRM 4.3.4 - Error - Could not create a trigger.
December 18, 2013, 04:43:17 pm
Same issue here. I've used a local shared web host (Laughing Squid) for many nonprofit clients who have modest needs. Relatively good service, price, reliability. Drupal 7.2.4 installs perfectly.

Today I tried to install CiviCRM (4.4) as a Drupal module on that host, and was sandbagged by the need for permission for triggers. My host can't/won't allow GRANT TRIGGER permission to my mySQL database user. Thus, far as I can tell, I just can't host Civi there.

So I'm trying to find another shared host (i.e., < $100/mo) that might be suitable for small nonprofits, and so far the only real choice I've seen is civihosting.com. Am I missing something? A2 and SiteGround boast Civi hosting, but it looks like there's serious user dissatisfaction with their performance.

It's a genuine hardship for small nonprofits if Civi really can't be installed on the average shared host. This is not just a cost issue! Though civihosting's minimum $25/month is more than we've come to expect to pay for basic Drupal hosting, I agree that it's a reasonable price. However, most small nonprofits are already using some cheap shared web host (usually including a CMS for their website). If they have to migrate those functions to a new host just to use Civi, that's not always a trivial job. And if there's only one or two hosts that they can afford, it's a real counter-incentive. (Why? Because if there's a problem with the host, the organization must either abandon Civi or else go to some kind of unaffordable VPS solution.)

So I would love to know if:
   a) there's any way to install CiviCRM 4.4 on Drupal 7 *without* trigger permissions,
   b) future versions of CiviCRM might allow installation without trigger permissions (with logging disabled, perhaps),
   c) there are moderately-priced shared hosts (besides civihosting.com) that are known to run CiviCRM 4.4 on Drupal 7 with acceptable performance.

Many thanks!

Donald Lobo

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 15963
  • Karma: 470
    • CiviCRM site
  • CiviCRM version: 4.2+
  • CMS version: Drupal 7, Joomla 2.5+
  • MySQL version: 5.5.x
  • PHP version: 5.4.x
Re: Drupal 7 - CiviCRM 4.3.4 - Error - Could not create a trigger.
December 18, 2013, 05:14:11 pm

a. No

b. Dont know of anyone working on it currently

c. check: https://civicrm.org/providers/hosting

note that you should be able to run civi on a VPS from any of the hosting providers.

lobo
A new CiviCRM Q&A resource needs YOUR help to get started. Visit our StackExchange proposed site, sign up and vote on 5 questions

Hershel

  • Forum Godess / God
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4640
  • Karma: 176
    • CiviHosting
  • CiviCRM version: Latest
  • CMS version: Mostly WordPress and Drupal
Re: Drupal 7 - CiviCRM 4.3.4 - Error - Could not create a trigger.
December 19, 2013, 05:45:12 am
Quote from: senyak on December 18, 2013, 04:43:17 pm
Though civihosting's minimum $25/month is more than we've come to expect to pay for basic Drupal hosting, I agree that it's a reasonable price.

To clarify, CiviHosting offers two shared hosting packages. The larger is $25 per month but the smaller one is $15 a month, and the resources provided for that package are sufficient for many/most small NPOs.

Quote from: senyak on December 18, 2013, 04:43:17 pm
However, most small nonprofits are already using some cheap shared web host (usually including a CMS for their website). If they have to migrate those functions to a new host just to use Civi, that's not always a trivial job.

To note, some hosts, such as CiviHosting, do offer migration services, some for a small fee. Thus, it can actually be trivial. :)
CiviHosting and CiviOnline -- The CiviCRM hosting experts, since 2007

See here for the official: What to do if you think you've found a bug.

ehowland

  • I’m new here
  • *
  • Posts: 25
  • Karma: 0
  • CiviCRM version: 3.3.5
  • CMS version: Drupal 6
  • MySQL version: various
  • PHP version: various
Re: Drupal 7 - CiviCRM 4.3.4 - Error - Could not create a trigger.
June 30, 2014, 12:23:01 pm
Carlo's solution:

log-bin-trust-function-creators = 1
Placed in the [mysqld] section of my.cnf

Worked for me.

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Installing CiviCRM »
  • Drupal Installations (Moderator: Piotr Szotkowski) »
  • Drupal 7 - CiviCRM 4.3.4 - Error - Could not create a trigger.

This forum was archived on 2017-11-26.