The testcon method tries to connect to the target database with the specified user name and password, and writes success or failure message to the console.
This command has the following format:
mdbac.bat -testcon -target Connection_name {-user User_name -pwd password | -wallet wallet_file_name}
Example: Test Database Connection
This example command tests the connection to the target database—mssql-test:
mdbac.bat -testcon -target mssql-test -user ca_itrm -pwd password123
|
Copyright © 2013 CA.
All rights reserved.
|
|