开发者

How to Create DSN in ubuntu

开发者 https://www.devze.com 2023-04-03 18:29 出处:网络
I want to create a DSN in Ubuntu Linux 10.10 for a Java application with a MySQL back end. Sorry if the question is s开发者_如何学Goimple but I really need your help.

I want to create a DSN in Ubuntu Linux 10.10 for a Java application with a MySQL back end.

Sorry if the question is s开发者_如何学Goimple but I really need your help.

How can I create it? What are the drivers that are needed to install for the same?


JDBC is the way to go to get database connectivity in a Java application.

You'll need to install a JDBC driver for MySQL, e. g. Connector/J. Installation and usage of Connector/J is documented in the MySQL reference manual.

The format of a connection URL for Connector/J is specifically described in 20.3.4.1. Driver/Datasource Class Names, URL Syntax and Configuration Properties for Connector/J.

0

精彩评论

暂无评论...
验证码 换一张
取 消