SQL Server Forums
Profile | Register | Active Topics | Members | Search | Forum FAQ
 
Register Now and get your question answered!
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 General SQL Server Forums
 Script Library
 dump only data from a database
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

pplastiras
Starting Member

2 Posts

Posted - 06/26/2011 :  13:00:05  Show Profile  Reply with Quote
Hi,

I’m new to this forum and I need some help. I’m trying to export only data from a database using sqldump method. In a similar use of this method I can export both data and structure using the commant below:

$creatBackup = "c:/xampp/mysql/bin/mysqldump.exe -u ".$username." --password=".$password." ".$db_name." applications> ".$backupFile;


Where:
$username = database username
$password = database password
$db_name = database name
$backupFile = file name + path

When I use this command, I get a result. But when I’m trying to create a file with only data I take nothing. Please help me!!!!!

webfred
Flowing Fount of Yak Knowledge

Germany
8764 Posts

Posted - 06/26/2011 :  13:32:20  Show Profile  Visit webfred's Homepage  Reply with Quote
This is a MS SQL Server forum and I'm sure you can get better help in a MySQL forum.


No, you're never too old to Yak'n'Roll if you're too young to die.
Go to Top of Page

pplastiras
Starting Member

2 Posts

Posted - 06/26/2011 :  14:14:42  Show Profile  Reply with Quote
Yes you are right. But I'm trying it everywhere. Last time me and my partners have a problem (with UNIQUE KEY) this forum gave us an answer. If you know how to do what i'm asking for, please just let me know. Every help is important even in MS SQL and not in MySQL. Thanks again.
Go to Top of Page

webfred
Flowing Fount of Yak Knowledge

Germany
8764 Posts

Posted - 06/27/2011 :  02:43:04  Show Profile  Visit webfred's Homepage  Reply with Quote
Look here:
http://chriswa.wordpress.com/2008/02/20/mysqldump-data-only/


No, you're never too old to Yak'n'Roll if you're too young to die.
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
SQL Server Forums © 2000-2009 SQLTeam Publishing, LLC Go To Top Of Page
This page was generated in 0.05 seconds. Powered By: Snitz Forums 2000