Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

MySQL client database backup using mysqldump alone

Posted on 2008-10-29
5
Medium Priority
?
1,207 Views
Last Modified: 2012-05-05
I have a windows application project using VC++.Net and I am using MySQL database.

on my application I include database backup and restore features. The only way I can backup my database is through MYSQLDUMP. but in order to have this command MySQL Server must be installed.

Is there other ways that I can backup my database without installing the whole MySQL Server?

By the way, I am only using MySQL ODBC Connector to access MySQL server remotely. And it works fine.

Thanks a lot!
0
Comment
Question by:m_kristofer
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
  • 2
5 Comments
 
LVL 26

Expert Comment

by:Umesh
ID: 22829009
No need to install complete mysql server... mysqldump.exe alone is enough...

0
 
LVL 3

Author Comment

by:m_kristofer
ID: 22829059
Thanks for the reply.

I tried executing the command but it results an error. It says:

 mysqldump: Got error: 1251: Client does not support authentication protocol requested by server; consider upgrading MySQL client when trying to connect

By the way, on the computer theres no MySQL server installed only MySQL ODBC Connector and .Net Framework 2.0.

Hope you could help me.

Thanks.
0
 
LVL 26

Accepted Solution

by:
Umesh earned 2000 total points
ID: 22829089
Latest MySQL  uses an authentication protocol based on a password hashing algorithm that is incompatible with that used by older (pre-4.1) clients. If you upgrade the server from 4.0, attempts to connect to it with an older client may fail with the following message:

This may help you...

http://dev.mysql.com/doc/refman/5.0/en/old-client.html

Also you may want try..  get a latest mysqldump.exe ..try to download a "Without installer (unzip in C:\)" setup from MySQL and take mysqldump from it... and give a try

http://dev.mysql.com/downloads/mysql/5.0.html#win32
0
 
LVL 3

Author Comment

by:m_kristofer
ID: 22837727
Hi ushastry,

You got it! I download the link you gave me and it works!

Thanks a lot.
0
 
LVL 3

Author Closing Comment

by:m_kristofer
ID: 31511064
Thanks a lot. you are a guru indeed. =)
0

Featured Post

Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This post looks at MongoDB and MySQL, and covers high-level MongoDB strengths, weaknesses, features, and uses from the perspective of an SQL user.
This article shows how to get a list of available printers for display in a drop-down list, and then to use the selected printer to print an Access report or a Word document filled with Access data, using different syntax as needed for working with …
Video by: Steve
Using examples as well as descriptions, step through each of the common simple join types, explaining differences in syntax, differences in expected outputs and showing how the queries run along with the actual outputs based upon a simple set of dem…
In this video, Percona Solution Engineer Dimitri Vanoverbeke discusses why you want to use at least three nodes in a database cluster. To discuss how Percona Consulting can help with your design and architecture needs for your database and infras…

719 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question