How can I use Mysql for JDBC connection.How to make data source?
I can able to done with MS-SQL.

Recommended Answers

All 5 Replies

So do it the same way for MySQL, just with different strings for the Driver and url.

Thanks for ur support masijade....I had done it..Its the same way jus like MS-Sql.

Only driver initialisation,
"com.mysql.jdbc.Driver"

And connectionUrl string
"jdbc:mysql://localhost:3306/test"; (here,test is the database to be used)

has been changed.

Good for you. A lot of people react negatively to that sort of advice, so, truthfully, way to go.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.