there is an issue with connecting to mysql database
win7
xampp
i also install (mysql-connector-java-5.1.34-bin)
blow i have written the error
com.mysql.jdbc.exceptions.jdbc4.MYSQLNonTransientConnectionException:Cannot load connection class because of underlying exception :'java.lang.NumberFormatException:For input string:"<port3306>".</port3306>
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Anonymous
Anonymous
-
2014-11-27
Hello,
You should not keep "<port3306>" in connection string, it was meant to be an example.
Try to remove "<port"</port3306>
you don't need to download the mysql jdbc driver, you can use the mariadb jdbc driver that is included in our package: this one also permits to connect to multi schemas at the same time.
Regards
PAscal
Last edit: PAscal 2014-11-27
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
there is an issue with connecting to mysql database
win7
xampp
i also install (mysql-connector-java-5.1.34-bin)
blow i have written the error
com.mysql.jdbc.exceptions.jdbc4.MYSQLNonTransientConnectionException:Cannot load connection class because of underlying exception :'java.lang.NumberFormatException:For input string:"<port3306>".</port3306>
Hello,
You should not keep "<port3306>" in connection string, it was meant to be an example.
Try to remove "<port"</port3306>
Example:
jdbc:mysql://localhost:3306/
http://dev.mysql.com/doc/connector-j/en/connector-j-reference-configuration-properties.html
Cheers
Anudeep
you don't need to download the mysql jdbc driver, you can use the mariadb jdbc driver that is included in our package: this one also permits to connect to multi schemas at the same time.
Regards
PAscal
Last edit: PAscal 2014-11-27