Hello all,
I'm following the sql tutorial but I can't understand something,
When I run my code, I get this error:
java.sql.SQLException: invalid database address: jdbc:mysql://localhost/db;user=xxx;password=xxx
I added this line:#AdditionalJar: mysql-connector-java-5.0.8-bin.jar
I passed the file in the libraries foldr
I have a sql file that I also put in the libraries folders so I can hv acces to it then I used this line:
sql1.Initialize("com.mysql.jdbc.Driver", "jdbc:mysql://localhost/test?characterEncoding=utf8")
I know that I didn't understood exactly ho it works so please can you give me a demo exemple with an sql file.
Thanks
I'm following the sql tutorial but I can't understand something,
When I run my code, I get this error:
java.sql.SQLException: invalid database address: jdbc:mysql://localhost/db;user=xxx;password=xxx
I added this line:#AdditionalJar: mysql-connector-java-5.0.8-bin.jar
I passed the file in the libraries foldr
I have a sql file that I also put in the libraries folders so I can hv acces to it then I used this line:
sql1.Initialize("com.mysql.jdbc.Driver", "jdbc:mysql://localhost/test?characterEncoding=utf8")
I know that I didn't understood exactly ho it works so please can you give me a demo exemple with an sql file.
Thanks