Last active
October 9, 2017 04:56
-
-
Save mcupak/1ac82ffd8c8aa0674677e09179a0fb71 to your computer and use it in GitHub Desktop.
Install JDBC driver in WildFly.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| [standalone@localhost:9990 /] module add --name=com.mysql\ | |
| --resources=mysql-connector-java.jar\ | |
| --dependencies=javax.api,javax.transaction.api | |
| [standalone@localhost:9990 /] /subsystem=datasources/jdbc-driver=mysql:\ | |
| add(driver-name=mysql,driver-module-name=com.mysql,\ | |
| driver-xa-datasource-class-name=com.mysql.jdbc.jdbc2.optional.MysqlXADataSource) | |
| {"outcome" => "success"} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment