Timeline for gunzip and mysql import - No such file or directory
Current License: CC BY-SA 3.0
6 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Jan 11, 2016 at 19:19 | answer | added | Etan Reisner | timeline score: 2 | |
Jan 11, 2016 at 19:17 | answer | added | Adam Axtmann | timeline score: 0 | |
Jan 11, 2016 at 19:16 | comment | added | Marc Bredt |
i doubt that there is a command named "MySQL". *nix systems are case sensitive so you should probably use mysql instead.
|
|
Jan 11, 2016 at 19:14 | comment | added | DDay | Have you tried putting "" around the commands to be executed on the remote host? Something like "gunzip /path/file.sql.gz && MySQL -u root -p db_name < /path/file.sql" so you get more than the gunzip executed there. | |
Jan 11, 2016 at 19:12 | comment | added | jbafford |
Your intent is unclear because of the && and < , which are probably not doing what you expect they are. Where exactly are the files in question (local and remote), and where is mysql supposed to be running?
|
|
Jan 11, 2016 at 19:09 | history | asked | Samantha | CC BY-SA 3.0 |