1,105,169 Community Members

mysql database backup using vb.net code only

Member Avatar
dibakarmishra
Newbie Poster
13 posts since Feb 2011
Reputation Points: 0 [?]
Q&As Helped to Solve: 0 [?]
Skill Endorsements: 0 [?]
 
0
 

I want to backup my database from vb.net 2010 and i am able to do this using mysqldump through vb.net 2010, but i want to backup my mysql database without useing mysqldump only by vb.net code. please help me ???

Member Avatar
joshl_1995
Posting Whiz in Training
278 posts since Jul 2012
Reputation Points: 3 [?]
Q&As Helped to Solve: 3 [?]
Skill Endorsements: 3 [?]
 
0
 

Hello,
Can I first just ask why if using MySqlDump works why would you want to do it in just plain VB.NET?

Ok now did you just want the data from the database? (Example below)

+---------+---------+
|ColumnOne|ColumnTwo|
+---------+---------+
|Row1Cell1|Row1Cell2|
+---------+---------+
|Row2Cell1|Row2Cell2|
+---------+---------+

or did you like want a backup script like the example below?

CREATE TABLE IF NOT EXISTS `Testing` (
  `ColumnOne` varchar(255) NOT NULL,
  `ColumnTwo` varchar(255) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

INSERT INTO `Testing` VALUES ('Row1Cell1', 'Row1Cell2'), ('Row2Cell1', 'Row2Cell2');
Member Avatar
dibakarmishra
Newbie Poster
13 posts since Feb 2011
Reputation Points: 0 [?]
Q&As Helped to Solve: 0 [?]
Skill Endorsements: 0 [?]
 
0
 

i want to backup full database just useing vb.net code

Member Avatar
joshl_1995
Posting Whiz in Training
278 posts since Jul 2012
Reputation Points: 3 [?]
Q&As Helped to Solve: 3 [?]
Skill Endorsements: 3 [?]
 
0
 

Ok, I've found this that does just that. Hope this helps.

You
This article has been dead for over three months: Start a new discussion instead
Post:
Start New Discussion
View similar articles that have also been tagged: