-
-
Notifications
You must be signed in to change notification settings - Fork 2.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Can't export to MySQL 5.5 in JabRef 3.2 #685
Comments
Is it possible to post a minimal, complete, and verifiable example? Is there a minimal bib file which is not working at your side? Which OS are you running? |
This is the example. If there is only one record, the export will fine, but if there two, it error. |
I'll take a look at that. @yuyaoshen |
I looked into the code and interestingly the generated statement works when it's executed directly on the Mysql Database. I will look further into this issue- |
I found the reason for the error and a fix! I'll prepare a Pull Request. [StackOverlow Answer to the Problem](http://stackoverflow.com/questions/10797794/multiple-queries-executed-in-java-in-single-statement |
so where should I add this parameter, I'm using .jar file. Thanks very much. |
@yuyaoshen It has to be fixed in the code. Wait for a new release. |
@Siedlerchr Thanks again, waiting for the new release |
…abRef#685 Added ability to add server specific connection parameters in dbStrings, because MySQL and PostreSQL parameter names differ. Using setCatalog instead of use database (recommended in mysql doc see: https://dev.mysql.com/doc/connector-j/en/connector-j-reference-configuration-properties.html , Section "Initial Database for Connection" )
I'm using Jabref 3.2 and MySQL 5.5, but now I can't export my .bib to SQL database. It is fine when i am using 2.10, I don't know why.
The error is: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'INSERT INTO entries (jabref_eid, entry_types_id, cite_key, abstract, address, an' at line 1.
Can someone help me with this?
The text was updated successfully, but these errors were encountered: