File "/usr/lib/python2.7/dist-packages/MySQLdb/connections.py", line 36, in defaulterrorhandler
raise errorclass, errorvalue
_mysql_exceptions.ProgrammingError: (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 '-bookworm' at line 1")
The cause is a bookworm with a name like metadata-bookworm. Dashes are not allowed in bookworm names. There should be code upon loading a bookworm.cnf file that makes sure the name matches the regex ^[\w\d_]+$. (Or is it ^\w[\w\d_]+$?)
Currently an error can be thrown like this:
The cause is a bookworm with a name like
metadata-bookworm
. Dashes are not allowed in bookworm names. There should be code upon loading abookworm.cnf
file that makes sure the name matches the regex^[\w\d_]+$
. (Or is it^\w[\w\d_]+$
?)