0

I'm using WAMP Server in a local PC. I'm trying to export a big database using MySQL console but its just not working. I always get a syntax error 1064

The queries I tried:

mysqldump -u USER -p DATABASE > backup.sql;
mysqldump -u USER -pPASSWORD DATABASE > backup.sql;

(of course I'm replacing USER, PASSWORD and DATABASE with real values)

I also tried some more similar queries but I'm getting the same syntax error every time.

Please help!!!!!

1 Answer 1

2

You should type this in your command prompt not in MySQL console.

mysqldump is an application not MySQL command.

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.