Skip to content

Commit

Permalink
Merge pull request #311 from icatproject/setup-mysql
Browse files Browse the repository at this point in the history
Update MySQL driver in setup.properties.example
  • Loading branch information
ajkyffin authored Sep 8, 2023
2 parents c61f756 + c586303 commit 5163b81
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
3 changes: 1 addition & 2 deletions src/main/config/setup.properties.example
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,7 @@ port = 4848
!db.logging = FINE

# MySQL
db.driver = com.mysql.jdbc.jdbc2.optional.MysqlDataSource
!db.driver = mysql-connector-java-5.1.30-bin.jar_com.mysql.jdbc.Driver_5_1
db.driver = com.mysql.cj.jdbc.MysqlDataSource
db.url = jdbc:mysql://localhost:3306/icat
db.username = icat
db.password = secret
Expand Down
2 changes: 1 addition & 1 deletion src/test/scripts/prepare_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@
"home = %s" % containerHome,
"port = 4848",
"# MySQL",
"db.driver = com.mysql.jdbc.jdbc2.optional.MysqlDataSource",
"db.driver = com.mysql.cj.jdbc.MysqlDataSource",
"db.url = jdbc:mysql://localhost:3306/icatdb",
"db.username = icatdbuser",
"db.password = icatdbuserpw"
Expand Down

0 comments on commit 5163b81

Please sign in to comment.