Rian Santana
Rian Santana

Reputation: 49

Error trying to use 'restore with MySql' on DataGrip

I'm getting the following error while trying to dump a .sql with data grip, using 'restore with mysql'

mysqldump: [ERROR] unknown variable 'database=dbname'.

print from the error

I tried changing the mysql path to bin/mysql, however I get a invalid path error message

Upvotes: 0

Views: 168

Answers (1)

Frank Fu
Frank Fu

Reputation: 3643

Try

mydb ‹ "/home/rian/mydump.sql

Instead of

--database="mydb" ‹ "/home/rian/mydump.sql

Upvotes: 0

Related Questions