Stash has been configured with mysql 5.5 at port 3307 on Windows 8 Pro 64 bit. It has been confirmed to work properly when manually started from command line (repository created added as remote and pushed). The problem is that configuring it as a service appears to succeed and the service starts, however, when I attempt to connect to stash I get the following error:
--------------------------
A fatal error has occurred
The following problem occurred which prevents Atlassian Stash from starting correctly:
The database, as currently configured, is not accessible.Stash is configured to use the mysql driver (com.mysql.jdbc.Driver) but it is not available. Please follow the instructions to install the driver as per Connecting Stash to MySQL.
--------------------------
Any advice on what the issue might be? The driver (mysql-connector-java-5.1.23-bin.jar) is installed at <stash_home>/lib.
For the time being I have reverted to manual startup but that is not ideal.
The problem is that the path for the connector jar (mysql-connector-java-5.1.x-bin.jar) needs to be <stash-installation-dir>/atlassian-stash/WEB_INF/lib when stash is started as a service (<stash-installation-dir>/lib might also work). The path <stash-home>/lib specified in the install guide works when stash is started from the console.
I raised https://jira.atlassian.com/browse/STASH-3163 to capture this. Thanks for bringing this to our attention!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.