You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I tried to use stellar with a Mysql/MariaDB database which has a dash in it's name.
The result is this:
$:[~]:$ stellar snapshot
Snapshotting database foo-bar
Traceback (most recent call last):
File "/usr/local/bin/stellar", line 9, in <module>
load_entry_point('stellar==0.4.3', 'console_scripts', 'stellar')()
File "/usr/local/lib/python2.7/dist-packages/stellar/command.py", line 279, in main
stellar()
...
...
File "/usr/local/lib/python2.7/dist-packages/pymysql/err.py", line 112, in _check_mysql_exception
raise errorclass(errno, errorvalue)
sqlalchemy.exc.ProgrammingError: (pymysql.err.ProgrammingError) (1064, u"You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near '-bar' at line 1") [SQL: 'SHOW TABLES in foo-bar;']
For Mysql the correct query should look like this: SHOW TABLES in foo-bar``
The text was updated successfully, but these errors were encountered:
I tried to use stellar with a Mysql/MariaDB database which has a dash in it's name.
The result is this:
For Mysql the correct query should look like this:
SHOW TABLES in
foo-bar``The text was updated successfully, but these errors were encountered: