Skip to content

Instantly share code, notes, and snippets.

@mcupak
Created October 9, 2017 04:59
Show Gist options
  • Select an option

  • Save mcupak/8fa9023688119580ccde8a924fffdc3d to your computer and use it in GitHub Desktop.

Select an option

Save mcupak/8fa9023688119580ccde8a924fffdc3d to your computer and use it in GitHub Desktop.
Create a datasource in WildFly.
[standalone@localhost:9990 /] data-source add --name=MySqlDS\
--driver-name=mysql --jndi-name=java:jboss/datasources/MySqlDS\
--connection-url=jdbc:mysql://localhost:3306/mydb --user-name=myuser\
--password=password --enabled=true
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment