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) »
  • Discussion »
  • Internationalization and Localization (Moderators: Michał Mach, mathieu) »
  • Multi-language CiviCRM 3.2 install with MySQL 5.0
Pages: [1]

Author Topic: Multi-language CiviCRM 3.2 install with MySQL 5.0  (Read 3564 times)

Neil Adair

  • I post occasionally
  • **
  • Posts: 78
  • Karma: 4
  • CiviCRM version: 4.5.8
  • CMS version: Drupal 7
  • MySQL version: MariaDB 10
  • PHP version: 5.5 FPM
Multi-language CiviCRM 3.2 install with MySQL 5.0
August 21, 2010, 03:31:13 pm
I've found that the CiviCRM MySQL user now needs CREATE VIEW as well as SUPER privileges to enable a multi-language CiviCRM.
SHOW VIEW is also needed to enable backing up the db

mysql -uroot -p

mysql> USE db_name;

mysql> GRANT SUPER ON *.* TO 'db_user'@'localhost' IDENTIFIED BY 'password';

mysql> GRANT CREATE VIEW ON *.* TO 'db_user'@'localhost' IDENTIFIED BY 'password';

mysql> GRANT SHOW VIEW ON *.* TO 'db_user'@'localhost' IDENTIFIED BY 'password';

mysql> FLUSH PRIVILEGES;

mysql> EXIT;
« Last Edit: September 14, 2010, 10:16:14 am by Neil Adair »

Piotr Szotkowski

  • I live on this forum
  • *****
  • Posts: 1497
  • Karma: 57
Re: Multi-language CiviCRM 3.2 install with MySQL 5.0
August 23, 2010, 07:45:00 am
Quote from: Neil Adair on August 21, 2010, 03:31:13 pm
I've found that the CiviCRM MySQL user now needs CREATE VIEW as well as SUPER privileges to enable a multi-language CiviCRM.

It always needed; I’m surprised that the SUPER privilege does not automatically grant you the CREATE VIEW privilege (but that’s MySQL for you).
If you found the above helpful, please consider helping us in return – you can even steer CiviCRM’s future and help us extend CiviCRM in ways useful to you.

Neil Adair

  • I post occasionally
  • **
  • Posts: 78
  • Karma: 4
  • CiviCRM version: 4.5.8
  • CMS version: Drupal 7
  • MySQL version: MariaDB 10
  • PHP version: 5.5 FPM
Re: Multi-language CiviCRM 3.2 install with MySQL 5.0
September 14, 2010, 10:18:45 am
I've added SHOW VIEW in the above as it is required to enable backing up the database by the MySQL user.
Found this out the easy way on a test site  :)

so

mysql> USE db_name;

mysql> GRANT SUPER, CREATE VIEW, SHOW VIEW ON *.* TO 'db_user'@'localhost' IDENTIFIED BY 'password';

mysql> FLUSH PRIVILEGES;

mysql> EXIT;

xavier

  • Forum Godess / God
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4453
  • Karma: 161
    • Tech To The People
  • CiviCRM version: yes probably
  • CMS version: drupal
Re: Multi-language CiviCRM 3.2 install with MySQL 5.0
September 14, 2010, 10:20:09 am
Great, could you add that in the wiki?

X+
-Hackathon and data journalism about the European parliament 24-26 jan. Watch out the result

Neil Adair

  • I post occasionally
  • **
  • Posts: 78
  • Karma: 4
  • CiviCRM version: 4.5.8
  • CMS version: Drupal 7
  • MySQL version: MariaDB 10
  • PHP version: 5.5 FPM
Re: Multi-language CiviCRM 3.2 install with MySQL 5.0
September 21, 2010, 10:37:46 am
added to wiki http://wiki.civicrm.org/confluence/display/CRMDOC32/Localization

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Discussion »
  • Internationalization and Localization (Moderators: Michał Mach, mathieu) »
  • Multi-language CiviCRM 3.2 install with MySQL 5.0

This forum was archived on 2017-11-26.