Skip to content

Commit

Permalink
Replace depreciated class com.mysql.jdbc.Driver (#122)
Browse files Browse the repository at this point in the history
  • Loading branch information
justinmbrock authored Nov 11, 2021
1 parent 392f425 commit c5cf05b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion traccar/rootfs/etc/cont-init.d/mysql.sh
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ if bashio::services.available "mysql"; then

# Update Traccar XML configuration for database
xmlstarlet ed -L -s /properties \
-t elem -n entry_placeholder -v "com.mysql.jdbc.Driver" \
-t elem -n entry_placeholder -v "com.mysql.cj.jdbc.Driver" \
-i //entry_placeholder -t attr -n "key" -v "database.driver" \
-r //entry_placeholder -v entry \
"${CONFIG}"
Expand Down

0 comments on commit c5cf05b

Please sign in to comment.