How to connect the database to the project? Everything that I found in the internet is connected via localhost with me it is in a file of the example.db format and through which it can be further parsed.
- localhost is part of the database address, not the connection. Connect via jdbc Parsing Hiberneyt or spring data or jdbc or anything else =) - Victor
|
1 answer
- For desktop applications: Connecting to MySQL Using the JDBC DriverManager Interface
- For the web application: Connection Pooling with Connector / J
The database connection is done using the JDBC API . Connector / J is, in this case, the MySQL provider implementation of the JDBC API. This is the jar file that you need to download and connect to the project.
|