It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

database configuration error for stash with windows authentication

The configuration entered is not valid. A database connection could not be established. Please check your configuration and try again.

If you continue having issues, get in touch with our support team and we'll help get you up and running.

Hide details

The configuration entered is not valid. A database connection could not be established. Please check your configuration and try again.

com.atlassian.stash.internal.db.DefaultDatabaseManager.validateConfiguration(DefaultDatabaseManager.java:195)

com.atlassian.stash.internal.migration.DefaultMigrationService.validateConfiguration(DefaultMigrationService.java:85)

sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

...

Could not get JDBC Connection; nested exception is com.microsoft.sqlserver.jdbc.SQLServerException: Login failed for user 'xyz. ClientConnectionId:1312a998-47bb-49c2-93b1-3f6d894a99d9

org.springframework.jdbc.datasource.DataSourceUtils.getConnection(DataSourceUtils.java:80)

com.atlassian.stash.internal.db.DefaultDatabaseValidator.validate(DefaultDatabaseValidator.java:35)

com.atlassian.stash.internal.db.DefaultDatabaseManager.validateConfiguration(DefaultDatabaseManager.java:192)

...

Login failed for user 'xyz'. ClientConnectionId:1312a998-47bb-49c2-93b1-3f6d894a99d9

com.microsoft.sqlserver.jdbc.SQLServerException.makeFromDatabaseError(SQLServerException.java:216)

com.microsoft.sqlserver.jdbc.TDSTokenHandler.onEOF(tdsparser.java:254)

com.microsoft.sqlserver.jdbc.TDSParser.parse(tdsparser.java:84)

...

3 answers

we require solution this urgently. we are stuck, thanks in advance.

0 votes

Er, have you read the error you've posted here? It specifically states that you have not given it user details that can connect to your database.

The solution is to ensure you've set up the database correctly, and give stash the right credentials.

0 votes

General instructions on how to connect Stash to a SQL server database can be found here: https://confluence.atlassian.com/display/STASH/Connecting+Stash+to+SQL+Server

If this doesn't help, I'd suggest opening a support request on https://support.atlassian.comso our support engineers can have a look at your logs.

thanks michael

Suggest an answer

Log in or Sign up to answer
This widget could not be displayed.
This widget could not be displayed.
Community showcase
Published Mar 14, 2019 in Bitbucket Pipelines

Building a Bitbucket Pipe as a casual coder

...ipe.sh :  #!/bin/bash source "$(dirname "$0")/common.sh" enable_debug extra_args="" if [[ "${DEBUG}" == "true" ]]; then extra_args="--verbose" fi # mandatory variables R...

1,002 views 1 16
Read article

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you