문제

I would like to create a view in Drupal to list civicrm contact details.
We need to copy code from Administer->system settings->CMS database Integration paste it in sites/default/settings.php.. I did so the way it was suggested. I am getting the following error.

SQLSTATE[42000]: Syntax error or access violation: 1142 SELECT command denied to user 'drupaluser'@'localhost' for table 'civicrm_contact'
도움이 되었습니까?

해결책

I can't tell for sure without seeing your settings.php, but it sounds like the user for the Drupal database "drupaluser@localhost" doesn't have permissions over your CiviCRM database. Grant that permission in MySQL, and you ought to be set.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top