Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

database configuration error for stash with windows authentication

cybage_bitbucket June 18, 2014

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

0 votes
Michael Heemskerk
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
June 18, 2014

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.

cybage_bitbucket June 18, 2014

thanks michael

0 votes
Nic Brough -Adaptavist-
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
June 18, 2014

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
cybage_bitbucket June 18, 2014

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

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events