Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error 1064 (SQL syntax) when pulling DB #37

Open
stevepiron opened this issue Jun 25, 2015 · 4 comments
Open

Error 1064 (SQL syntax) when pulling DB #37

stevepiron opened this issue Jun 25, 2015 · 4 comments

Comments

@stevepiron
Copy link

grunt pull_db --target="staging"

Pulling database from 'staging' into Local
>> Creating DUMP of remote database
Password:
>> Database DUMP succesfully exported to:
>> backups/staging/20150625/16-16-06/db_backup.sql
>> Adapt the database: set the correct urls for the destination in the database.
>> Creating DUMP of local database
>> Database DUMP succesfully exported to:
>> backups/local/20150625/16-16-06/db_backup.sql
>> Importing DUMP into local database
ERROR 1064 (42000) at line 1: 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 'bash: LW9@@T^x: command not found
Usage: mysqldump [OPTIONS] database [tables]
O' at line 1
>> Database imported succesfully

Operations completed

Done, without errors.

.sql file says:

bash: LW9@@T^x: command not found
Usage: mysqldump [OPTIONS] database [tables]
OR     mysqldump [OPTIONS] --databases [OPTIONS] DB1 [DB2 DB3...]
OR     mysqldump [OPTIONS] --all-databases [OPTIONS]
For more options, use mysqldump --help
@gabrielwolf
Copy link

Same error here. Please help us fix this, there is no better availible DB and files solution for WP out there than yours. The others all want to make profit. Trellis is not as clever as you...

Best, Gabriel

@herbie4
Copy link

herbie4 commented Nov 2, 2015

Try my fix described here: #27

@gabrielwolf
Copy link

Thanks! It does the job.

@rslhdyt
Copy link

rslhdyt commented Nov 11, 2015

Thanks @herbie4 it's works

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants