Database rebuild fails

Bug #413702 reported by Daan Sprenkels
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Mai App
Invalid
Medium
Unassigned

Bug Description

When I rebuild the database, I get these errors:
DB: mai-base, mai-user
I think `quoting` them will be enough, for - (minus) is an SQL command.

rebuild-db - Could not drop database for connection: "mai_userdb_connection." Failed with exception: SQLSTATE[42000]: Syntax error or access violation: 1064 You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '-user' at line 1
rebuild-db - Generated models successfully from YAML schema
rebuild-db - Could not create database for connection: "mai_userdb_connection." Failed with exception: SQLSTATE[42000]: Syntax error or access violation: 1064 You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '-user' at line 1
rebuild-db - Created tables successfully

visibility: private → public
security vulnerability: yes → no
Revision history for this message
Wouter Bulten (wouterbulten) wrote :

The error is not directly SQL related. What are the rights of the users? Have you already created the databases?

Changed in mai:
importance: Undecided → Medium
Changed in mai:
status: New → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.