Skip to content

Commit 1b7af20

Browse files
dhananjay-mkSirOibaf
authored andcommitted
[FSTORE-1095] update driver dependecies documentation (logicalclocks#350)
1 parent b853785 commit 1b7af20

File tree

2 files changed

+16
-5
lines changed

2 files changed

+16
-5
lines changed
Loading

docs/user_guides/fs/storage_connector/creation/jdbc.md

+16-5
Original file line numberDiff line numberDiff line change
@@ -36,16 +36,27 @@ Head to the Storage Connector View on Hopsworks (1) and set up a new storage con
3636

3737
Enter the details for your JDBC enabled database.
3838

39-
1. Select "JDBC" as connector protocol.
40-
2. Enter the JDBC connection url. This can for example also contain the username and password.
41-
3. Add additional key/value arguments to be passed to the connection. These might differ by database. It can be the username and password.
42-
4. Click "Setup storage connector".
43-
4439
<figure markdown>
4540
![JDBC Connector Creation](../../../../assets/images/guides/fs/storage_connector/jdbc_creation.png)
4641
<figcaption>JDBC Connector Creation Form</figcaption>
4742
</figure>
4843

44+
1. Select "JDBC" as connector protocol.
45+
2. Enter the JDBC connection url. This can for example also contain the username and password.
46+
3. Add additional key/value arguments to be passed to the connection, such as username or password. These might differ by database.
47+
48+
49+
!!! note
50+
Driver class name is a mandatory argument even if using the default MySQL driver. Add it by specifying a property with the name `driver` and class name as value. The driver class name will differ based on the database. For MySQL databases, the class name is `com.mysql.cj.jdbc.Driver`, as shown in the example image.
51+
52+
53+
4. Click "Setup storage connector".
54+
55+
56+
!!! note
57+
To be able to use the connector, you need to upload the driver JAR file to the [Jupyter configuration](../../../projects/jupyter/spark_notebook.md) or [Job configuration](../../../projects/jobs/pyspark_job.md) in `Addtional Jars`. For MySQL connections the default JDBC driver is already included in Hopsworks so this step can be skipped.
58+
59+
4960
## Next Steps
5061

5162
Move on to the [usage guide for storage connectors](../usage.md) to see how you can use your newly created JDBC connector.

0 commit comments

Comments
 (0)