I need to do a dump of a table on a remote server, but I can't access the server directly. The only access I have is through PHP scripts.
Is there some way in which MySQL will return an
INSERT INTO `table_name` (`field1`, `field2`) VALUES ('a', 'b'), ('c', 'd')
statement, like what mysqldump
will return?
I don't have access to phpMyAdmin, and I preferably don't want to use exec
, system
or passthru
.
See this question for another export method