Yeah, now you are subscribed.

Returning to your question. It won't be enough to change the connection string to make the example workable with MySQL because, as I mentioned, JdbcConnectionPool class is H2 DB pool that returns H2 data sources only.

You should create MySQL DataSource some other way and use it in the example. According to this article [1] you can use the following class for this - com.mysql.jdbc.jdbc2.optional.MysqlDataSource.
And this tutorial [2] shows how MysqlDataSource can be created.

[1] https://docs.oracle.com/javase/tutorial/jdbc/basics/sqldatasources.html
[2] http://www.journaldev.com/2509/jdbc-datasource-example-oracle-mysql-and-apache-dbcp-tutorial

--
Denis

On 1/11/2016 2:48 PM, Ravi wrote:
Already subscribed.. stil it doesnt goes to mail.what can i do.

Coming to questn where to chnge the connection name n database n localhost
to make it effect?




--
View this message in context: 
http://apache-ignite-users.70518.x6.nabble.com/Connection-refused-via-JDBC-tp2490p2492.html
Sent from the Apache Ignite Users mailing list archive at Nabble.com.

Reply via email to