473,387 Members | 1,440 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,387 software developers and data experts.

C# WINDOWS APP: Getting sql dump of database?

56
Hi all,

I am planning to create a windows application, which is meant to retrieve the sql dump of a mysql database. What I need is the structure and the data as well.

You might ask why create this myself with the available software around, but I need this implemented with some extra custom features.

All I need is a text file with the dump in it... just as the dump you get when using:
Expand|Select|Wrap|Line Numbers
  1. mysqldump –-user [user name] –-password=[password] [database name] > [dump file]
Is there any Sql command that returns this dump?

Thanks
Feb 18 '08 #1
3 1907
pechar
56
Hi all,

I am planning to create a windows application, which is meant to retrieve the sql dump of a mysql database. What I need is the structure and the data as well.

You might ask why create this myself with the available software around, but I need this implemented with some extra custom features.

All I need is a text file with the dump in it... just as the dump you get when using:
Expand|Select|Wrap|Line Numbers
  1. mysqldump –-user [user name] –-password=[password] [database name] > [dump file]
Is there any Sql command that returns this dump?

Thanks

Anyone have an idea on how to do this? Thanks
Feb 19 '08 #2
Anyone have an idea on how to do this? Thanks
Sorry just now i came across u r post.Hope u'd have found out if not then try this out..
mysql -u[username] -p[password] Newdatabasename <DumpFile
Mar 11 '08 #3
pechar
56
Sorry just now i came across u r post.Hope u'd have found out if not then try this out..
mysql -u[username] -p[password] Newdatabasename <DumpFile
Thanks for the help much appreciated, will have a look into it :)
Mar 13 '08 #4

Sign in to post your reply or Sign up for a free account.

Similar topics

11
by: Wolfgang Kaml | last post by:
Hello All, I have been working on this for almost a week now and I haven't anything up my sleeves anymore that I could test in addition or change.... Since I am not sure, if this is a Windows...
0
by: richardshen | last post by:
My DB2 V8 SP5 WSE crash on Windows 2003 with the following msg in db2diag.log. Any idea? Looks like I need set stackreserver, what is the suggested value for that? 2004-03-05-12.20.46.299000 ...
4
by: James | last post by:
I have a VB windows forms application that accesses a Microsoft Access database that has been secured using user-level security. The application is being deployed using No-Touch deployment. The...
1
by: James | last post by:
I have a VB windows forms application that accesses a Microsoft Access database that has been secured using user-level security. The application is being deployed using No-Touch deployment. The...
2
by: ken | last post by:
i'm trying to figure out the complexity of writing a Windows C++ app that will automatically read a Poker window and then be able to make odds estimates based on that. there are applications out...
1
by: freesteel | last post by:
I have posted about this problem before. SInce then I found a much better article to help with embedding python in a multithreaded application: http://www.linuxjournal.com/article/3641 I...
1
by: =?ISO-8859-1?Q?Lasse_V=E5gs=E6ther_Karlsen?= | last post by:
I get the above error in some of the ASP.NET web applications on a server, and I need some help figuring out how to deal with it. This is a rather long post, and I hope I have enough details that...
7
by: Just_a_fan | last post by:
I have a program which runs fine here (created in VB9). I publish it to my web site for download & install. It runs on some computers (one or two) but not others. When it does not run, it causes...
5
by: Just_a_fan | last post by:
I can get a dump. I can send it in to M$. I can inspect it but cannot get it in my hands so I can not post it here and get comments and/or answers. Can I get hold of that dump somewhere? Is it...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.