I am trying to open a SQL connection and run a query to get some data from one of the tables in that database. But so far I am having issues creating a SQL connection. Also does anyone have an example of creating a charting object with domkit from a SQL query?
JohnNuccio Wed 12 Oct 2016
I am trying to open a SQL connection and run a query to get some data from one of the tables in that database. But so far I am having issues creating a SQL connection. Also does anyone have an example of creating a charting object with domkit from a SQL query?
ERROR Message Below
WARNING: Cannot preload JDBC driver: com.mysql.jdbc.Driver No suitable driver found for jdbc:mysql://192.168.9.150
SlimerDude Wed 12 Oct 2016
Have you copied the MySql driver jar to your Fantom environment and updated
etc/sql/config.props
?The steps are outlined in the sql documentation:
http://fantom.org/doc/sql/index#connections
JohnNuccio Wed 12 Oct 2016
I changed jdbc:mysql: to jdbc:sqlserver: and that seemed to fix the issue. Thanks for your help though SlimerDude