I have set the database password in bitbucket.properties. The line looks like this:
sqlserver://localhost:1433;databaseName=BitBucket;
jdbc.user=sajdbc.password=
I'm not sure which user the sajbdc user translates to so I'm not sure which password to use.
Hi @David Head
Here you need to provide the Database username and password which you have been provided while creating Database.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Yogesh,
Thanks for the response. However, I'm still a bit confused. I created the database myself in SQL Server Management Studio (actually, i moved it from the other server), and the username and password didn't match what was in the old bitbucket.properties file at all. Further, I never have created or seen the sajdbc username in any context other than this file. I tried changing the username and password in the file to what I see in Management Studio, but then I get a message that BitBucket can't access the database.
Dave
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
HI @David Head
In application data dir bitbucket.properties file only contains the database details once you migrated bitbucket server to another server before starting the bitbucket server you need to change the database details.
Stop the bitbucket server then check the database details in your SQL server and then try to change in the properties file then start it.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello Yogesh,
Thanks for your suggestions. The problem turned out to be a corrupted bitbucket.properties file. The name and password were merged together. The file came from the previous BitBucket installation, but somehow didn't make it over intact.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.