Solved

MySQL client database backup using mysqldump alone

Posted on 2008-10-29
5
1,158 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
  • 3
  • 2
5 Comments
 
LVL 26

Expert Comment

by:ushastry
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:
ushastry 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

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

This article describes some very basic things about SQL Server filegroups.
Entering time in Microsoft Access can be difficult. An input mask often bothers users more than helping them and won't catch all typing errors. This article shows how to create a textbox for 24-hour time input with full validation politely catching …
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…

705 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

Need Help in Real-Time?

Connect with top rated Experts

19 Experts available now in Live!

Get 1:1 Help Now