Score:0

How to restore sql+txt dump?

st flag

I have some dumps created with the following command:

mysqldump --host=$host --user=$dbuser --password=$dbpass --tab=$backupdir/$dbname $dbname

That created couple files table.sql/table.txt with the structure in the first (that can can be installed with mysql -u username -p database_name < table.sql) and the rows in the second.

How can I import the rows with that files ?

jp flag
https://stackoverflow.com/questions/11474210/easily-import-a-mysql-tab-dump
Entretoiz avatar
st flag
Thank you, that's what I needed
mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.