Do you know any PHP script or library to export/import dumps of MySQL databases?
-
01-10-2019 - |
Question
I don't have shell access so can't use the mysqldump command Also the use of sentences like SELECT * INTO OUTFILE are restricted
SOLVED: I've found several PHP scripts/libraries/classes in google code.
Solution
Than a SELECT * FROM
and afterwards a file_put_contents()
Otherwise explain why not doing one of the following!
What do you want the output to look like? If it should look like a regular dump file, that good luck in writing your own PHP to mysql dump file converter.
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow