Solved

MySQL client database backup using mysqldump alone

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

Complete VMware vSphere® ESX(i) & Hyper-V Backup

Capture your entire system, including the host, with patented disk imaging integrated with VMware VADP / Microsoft VSS and RCT. RTOs is as low as 15 seconds with Acronis Active Restore™. You can enjoy unlimited P2V/V2V migrations from any source (even from a different hypervisor)

Question has a verified solution.

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

SQL Command Tool comes with APEX under SQL Workshop. It helps us to make changes on the database directly using a graphical user interface. This helps us writing any SQL/ PLSQL queries and execute it on the database and we can create any database ob…
Creating and Managing Databases with phpMyAdmin in cPanel.
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…

777 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