Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 1230
  • Last Modified:

MySQL client database backup using mysqldump alone

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
m_kristofer
Asked:
m_kristofer
  • 3
  • 2
1 Solution
 
UmeshMySQL Principle Technical Support EngineerCommented:
No need to install complete mysql server... mysqldump.exe alone is enough...

0
 
m_kristoferAuthor Commented:
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
 
UmeshMySQL Principle Technical Support EngineerCommented:
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
 
m_kristoferAuthor Commented:
Hi ushastry,

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

Thanks a lot.
0
 
m_kristoferAuthor Commented:
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.

  • 3
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now