Created
October 9, 2017 06:22
-
-
Save mcupak/59f7d2dab2baa6d99c3292429c8e5af7 to your computer and use it in GitHub Desktop.
Set up MySQL 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