Question: is it possible to convert a dump.sql file which was written in PostgreSQL to a MySQL friendly version? I tried uploading the dump.sql file to a MySQL Database space in a linux server but I keep getting the error ERROR 1193 (HY000) at line 5: Unknown system variable 'statement_timeout'
. Is there any way to make it compatible?
Take the 2-minute tour
×
Stack Overflow is a question and answer site for professional and enthusiast programmers. It's 100% free, no registration required.
|
||||
add comment |
closed as not a real question by Jack Maney, Iswanto San, bensiu, Craig Ringer, nickhar Apr 17 '13 at 4:06
It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.If this question can be reworded to fit the rules in the help center, please edit the question.
That problem you had will be one of many if you just try to do it like that. Some ways to "make it compatible" (if one can say that). Correct every single error you have (MySQL and PostgreSQL have some difference and you will have to know them all). My suggestion: create the schemas manually (or using a export and adapt it to MySQL if is really big), and use CSV exports and imports). |
|||||||||
|
ERROR 1193 (HY000)
is a MySQL error. There's that mystery solved – Phil Apr 17 '13 at 1:11