Hi ,
I just installed Stash 2.9.3 and I cannot locate the stash-config.properties file anywhere on the server.
It's installed on a Windows 2012 box and running as a service using a local account.
The reason I am trying to locate the file is because I am unable to get Stash connected to a MS SQL database. It keeps on saying "The configuration entered is not valid..." although I have confirmed the details are correct using a .udl file. So I was going to manually enter it in the file. At the moment it's running on an INTERNAL database.
Any help is appreciated.
Thanks
Hi Milan,
The stash-config.properties file isn't created until it is needed, but you can manually create it if you need. Just put it in STASH_HOME/stash-config.properties.
Here's sample content from a mysql connection:
jdbc.driver=com.mysql.jdbc.Driver jdbc.url=jdbc:mysql://localhost:3306/mysql_stash?autoReconnect=true&characterEncoding=utf8&useUnicode=true&sessionVariables=storage_engine%3DInnoDB jdbc.user=stash jdbc.password=stash
Cheers,
Michael
Hi Michael,
That worked, I was able to get it connected to the database by entering the details in the config file.
Thanks for your help.
Milan
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Create a blank text file and just rename it to test.udl
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.