Forums

mysql dump returning error

[SOLVED] While using your page (mostly copying) from bash at ~:

mysqldump u segmarian -h segmarian.mysql.pythonanywhere-services.com --set-gtid-purged=OFF --no-tablespaces 'segmarian$XXXXXX' > db-backup.sql

returns

mysqldump: [ERROR] unknown variable 'database=segmarian$XXXXXX'

SOLVED:There was an entry in my .my.cnf for the database, and for some reason it didn't work...

Glad to hear that you made it work.