Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

'com.mysql.jdbc.drive' unable to load #12

Open
shaobodang opened this issue Jan 21, 2016 · 1 comment
Open

'com.mysql.jdbc.drive' unable to load #12

shaobodang opened this issue Jan 21, 2016 · 1 comment

Comments

@shaobodang
Copy link

Hi, I am trying to config and to get authentication information from linked mysql database, but the error "org.jivesoftware.openfire.auth.JDBCAuthProvider - Unable to load JDBC driver: null" occurs. Do I miss some path configuration or just need to rebuild the image based on the Dockfile in this repository?

@sameersbn
Copy link
Owner

tested without any issues using the following commands:

docker run -itd --name mysql \
  -e DB_USER=openfire \
  -e DB_PASS=password \
  -e DB_NAME=openfiredb \
  sameersbn/mysql:latest

docker run -itd --link mysql:mysql \
  -p 9090:9090 \
  sameersbn/openfire:3.10.3-2

Please make sure you properly configure the database connection parameters in the openfire setup.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants