I think it should be corrected to begin/commit only as afaik most of the sql servers use this syntax<span></span>. L.<br><br>Dne středa, 24. července 2013, Andrew Atkinson napsal(a):<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hello<br>
<br>
I have just been playing with the export database part of Therion again.<br>
<br>
The file outputted was imported into some application fine, but most<br>
would not work phpMyAdmin being one of the ones that I could not import<br>
with and the one that my ISP forces me to use.<br>
<br>
phpMyAdmin was giving the error<br>
<br>
#1064 - You have an error in your SQL syntax; check the manual that<br>
corresponds to your MySQL server version for the right syntax to use<br>
near 'TRANSACTION' at line 1<br>
<br>
After a bit of searching I found this<br>
<br>
<a href="http://dev.mysql.com/doc/refman/5.0/en/commit.html" target="_blank">http://dev.mysql.com/doc/refman/5.0/en/commit.html</a><br>
<br>
(there is a similar page for MySQL4 and 3.23 that seem to say the same)<br>
<br>
So editing the exported file first line<br>
<br>
from<br>
<br>
begin transaction;<br>
<br>
to<br>
<br>
begin;<br>
<br>
and last line<br>
<br>
<br>
from<br>
<br>
commit transaction;<br>
<br>
to<br>
<br>
commit;<br>
<br>
then it worked<br>
Not sure if this is a bug or my lack of understanding of the .sql file<br>
format<br>
<br>
Andrew<br>
_______________________________________________<br>
Therion mailing list<br>
<a href="javascript:;" onclick="_e(event, 'cvml', 'Therion@speleo.sk')">Therion@speleo.sk</a><br>
<a href="http://mailman.speleo.sk/mailman/listinfo/therion" target="_blank">http://mailman.speleo.sk/mailman/listinfo/therion</a><br>
</blockquote>