问题
When I trying to install drupal-7 in my server, at the setup database step it shows the error
Failed to connect to your database server. The server reports the following message: SQLSTATE[42000]: Syntax error or access violation: 1231 Variable 'sql_mode' can't be set to the value of 'NO_AUTO_CREATE_USER'.
The database name, username, and password are all correct.
Is there any solution to this problem?
回答1:
Drupal isn't allowed to create a new user in your MySQL database. You need at least MySQL 5.0.15
来源:https://stackoverflow.com/questions/12594594/no-auto-create-user-error-while-installing-drupal-7