Answers.Body: <p>This is <a href="https://issues.civicrm.org/jira/browse/VOL-299" rel="nofollow noreferrer">https://issues.civicrm.org/jira/browse/VOL-299</a></p>
  
  <p>The workaround documented there works.</p>
  
  <ol>
  <li>Connect to your MySql server as root</li>
  <li><p>Run these two statements</p>
  
  <p>SET sql_mode = '';
  SET GLOBAL sql_mode = '';</p></li>
  <li><p>Try again</p></li>
  </ol>
  
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2017-10-29T14:37:48.670Z
Answers.LastActivityDate: 2017-10-29T14:37:48.670Z
Answers.UserDisplayName: Marc Brazeau
Body: <p>Running this:</p>
  
  <pre><code>civibuild create marc --type drupal-demo --url http://marc.localhost
  </code></pre>
  
  <p>Gives me this:</p>
  
  <pre><code>...
  #33 /home/civicrm/buildkit/vendor/drush/drush/drush.php(16): drush_main()
  #34 {main}
      [is_error] =&gt; 1
      [error_message] =&gt; DB Error: unknown error
  )
  
  +++ drush scr /home/civicrm/buildkit/src/drush/perm.php
  Could not find the permission: register to volunteer                                                                                    [error]
  Could not find the permission: register to volunteer                                                                                    [error]
  civicrm@civicrm-dev-vb:~/buildkit/build
  </code></pre>
  
Tags: <civibuild>
Title: civibuild create permission error
ThreadText: # civibuild create permission error
  
  (Asked by: username_0 on 2017-10-29)
  
  Running this:
  
  ```
  civibuild create username_0 --type drupal-demo --url http://username_0.localhost
  
  ```
  
  Gives me this:
  
  ```
  ...
  #33 /home/civicrm/buildkit/vendor/drush/drush/drush.php(16): drush_main()
  #34 {main}
      [is_error] => 1
      [error_message] => DB Error: unknown error
  )
  
  +++ drush scr /home/civicrm/buildkit/src/drush/perm.php
  Could not find the permission: register to volunteer                                                                                    [error]
  Could not find the permission: register to volunteer                                                                                    [error]
  civicrm@civicrm-dev-vb:~/buildkit/build
  
  ```
  
  **Tags:** civibuild
  
  
  ---
  
  ## 1 answers
  
  ### Answer by username_0 on 2017-10-29. Score: 1
  
  This is <https://issues.civicrm.org/jira/browse/VOL-299>
  
  The workaround documented there works.
  
  1. Connect to your MySql server as root
  2. Run these two statements
  
     SET sql\_mode = '';
     SET GLOBAL sql\_mode = '';
  3. Try again
  
  
  ---
  
  