Solved

MySQL client database backup using mysqldump alone

Posted on 2008-10-29
5
1,176 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 500 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

Free learning courses: Active Directory Deep Dive

Get a firm grasp on your IT environment when you learn Active Directory best practices with Veeam! Watch all, or choose any amount, of this three-part webinar series to improve your skills. From the basics to virtualization and backup, we got you covered.

Question has a verified solution.

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

Password hashing is better than message digests or encryption, and you should be using it instead of message digests or encryption.  Find out why and how in this article, which supplements the original article on PHP Client Registration, Login, Logo…
A company’s centralized system that manages user data, security, and distributed resources is often a focus of criminal attention. Active Directory (AD) is no exception. In truth, it’s even more likely to be targeted due to the number of companies …
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…
Polish reports in Access so they look terrific. Take yourself to another level. Equations, Back Color, Alternate Back Color. Write easy VBA Code. Tighten space to use less pages. Launch report from a menu, considering criteria only when it is filled…

734 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