Click here to Skip to main content
15,889,877 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
Hi, I started studing MySQL in this week so I installed newest version of MySQL CLient for Windows . I'm getting to the point where I try to export database. I want to export my database and it' keeps warning me:

"mysqldump Version Mismatch

mysqldump.exe is version 5.7.12, but the MySQL Server to be dumped has version 5.7.17.
Because the version of mysqldump is older than the server, some features may not be backed up properly.
It is recommended you upgrade your local MySQL client programs, including mysqldump to a version equal to or newer than that of the target server.
The path of the dump tool must then be set in Preferences -> Administrator -> Path to mysqldump tool:"

What I have tried:

I searched different solution from this and other forums.

I set my path to mysql tool folder to: C:\Program Files\MySQL\MySQL Server 5.7\bin\mysqldump.exe. And restarted my WorkBench. But that didn't help me either.

I checked with installer if there is some updates available but it looks like I have newest version. So there isn't.

Any sugsestions folks?
Posted
Updated 15-Feb-17 4:38am
v2

1 solution

 
Share this answer
 
Comments
Member 13000170 15-Feb-17 11:04am    
Thank you a lot mate ! This helped me fix my problem ! You're the man !
Member 13000170 15-Feb-17 11:25am    
Now it OK with export. It woun't dipay this Warning message. But when I try to import my exported database it gives me error.

18:22:06 Restoring C:\Users\Henso\Documents\dumps\Monkey.sql
Running: "C:\Program Files\MySQL\MySQL Server 5.7\bin\mysqldump.exe" --defaults-file="c:\users\henso\appdata\local\temp\tmpntdmtd.cnf" --protocol=tcp --host=localhost --user=root --port=3306 --default-character-set=utf8 --comments < "C:\\Users\\Henso\\Documents\\dumps\\Monkey.sql"
mysqldump: Got error: 1049: Unknown database '<' when selecting the database

Operation failed with exitcode 2
18:22:06 Import of C:\Users\Manu\Documents\dumps\Monkey.sql has finished with 1 errors
Peter Leow 15-Feb-17 11:36am    
Check your export operation, as the error message said it
Unknown database '<' when selecting the database

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900