Dumping Only Data
Posted: 24. June 2011 16:39
Hi,
I’m new to this forum and I need some help. I’m trying to export only data from a database using mysqldump method. In a similar use of this method I can export both data and structure using the commant below:
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!!!!!
I’m new to this forum and I need some help. I’m trying to export only data from a database using mysqldump method. In a similar use of this method I can export both data and structure using the commant below:
- Code: Select all
$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!!!!!