Skip to content

Instantly share code, notes, and snippets.

@developer1011
Created March 13, 2020 00:14
Show Gist options
  • Save developer1011/eaf5376e47ff34508e4fd4f1dc6f0f1c to your computer and use it in GitHub Desktop.
Save developer1011/eaf5376e47ff34508e4fd4f1dc6f0f1c to your computer and use it in GitHub Desktop.
MacBookPro:keycloak-9.0.0 deus$ ./bin/jboss-cli.sh
You are disconnected at the moment. Type 'connect' to connect to the server or 'help' for the list of supported commands.
[disconnected /] connect
[standalone@localhost:9990 /] module add --name=com.mysql.driver --dependencies=javax.api,javax.transaction.api --resources=/Users/deus/servers/keycloak-4.8.3.Final/modules/system/layers/keycloak/com/mysql/main/mysql-connector-java-8.0.11.jar
[standalone@localhost:9990 /] :reload
{
"outcome" => "success",
"result" => undefined
}
[standalone@localhost:9990 /] /subsystem=datasources/jdbc-driver=mysql/:add(driver-module-name=com.mysql.driver,driver-name=mysql,jdbc-compliant=false,driver-class-name=com.mysql.jdbc.Driver)
{"outcome" => "success"}
[standalone@localhost:9990 /]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment