Connecting to Microsoft SQL Server Databases
Connecting to Microsoft SQL Server Databases
ECN provides a number of Microsoft SQL Servers to host databases. The servers are listed below:
ECN-MSSQL - This server is the main SQL server for non-infrastructure databases
ECN-CLASSMSSQL - This server hosts class related development databases, only databases used for teaching can be on this server.
ECN-PRODMSSQL - This server hosts infrastructure databases for internal ECN use only.
You will be notified which server your database is located on (most times this will be ECN-MSSQL), you will need this name as it is the server you will connect to.
You will also be notified what your database is named which you will see when you connect through either Microsoft SQL Server Managment Studion (SSMS), Visual Studio or any other DB management application.
If you are using an computer NOT on the BoilerAD Domain (like a personal computer) you will need to follow the steps below before you can connect to the database in either Visual Studio, SQL Server Management Studio or any other database management software:
- Open 'Manage Windows Credentials' from the start menu (the best way is to search for it from the start menu)
- Click the "Add a Windows Credential" button
-
For the Internet or network address field type in:
- ecn-mssql.ecn.purdue.edu:1433
-
In the User Name field type
- BoilerAD\YOUR_USERNAME_HERE
- In the Password Field type in your BoilerAD (career account) password
- After selecting the OK button you will need to add an additional credential
- Click the "Add a Windows Credential" button
-
For the Internet or network address field type in:
- ecn-mssql.ecn.purdue.edu
-
In the User Name field type
- BoilerAD\YOUR_USERNAME_HERE
- In the Password Field type in your BoilerAD (career account) password
- After selecting the OK button you can close Windows Credential Manager
Connecting to the Database Server with Microsoft SQL Server Management Studio:
- Once you have downloaded and installed Server Management Studio, open the program with the shortcut in the start menu
- A connection box will pop up for the "Server Type" select "Database Engine"
-
For the "Server Name" type in the following:
- ecn-mssql.ecn.purdue.edu:1433
- Then for the "Authentication" select "Windows Authentication"
- Complete the connection by clicking on the "Connect" button
Connecting to the Database in Visual Studio:
Connecting to the Database Server on Mac OS:
There are two options for software on the Mac to connect to the Microsoft SQL Server sequel:
- DbVisualizer - free software that has limited functionality unless upgraded to the pro version but will allow for basic uses.
https://www.dbvis.com/download/
- Valentina - free software but requires registration, which is free, to get a serial number to take it out of trial mode.
https://www.valentina-db.com/en/studio/download
Once you have selected your software for use open it and connect using the information below:
Database Driver: SQL Server (jTDS) (or just select the MSSQL option for Valentina Studio)
Server/Host: ecn-mssql.ecn.purdue.edu <use the server name provided to you>
Port Number: 1433
Username: your BoilerAD (career account) username
Password: your BoilerAD (career account) password
Domain: BoilerAD (if there is no Domain section append your username with "BoilerAD\")
Authentication Method: Windows (if available - used maily for DbVisualizer)
Database: <use the database name that was assigned to you>
If you have any issues connecting to your database please email windows@ecn.purdue.edu.
Last modified: 2022/01/14 16:11:34.709545 US/Eastern by
sean.t.kelly.2
Created: 2022/01/14 15:50:35.781722 US/Eastern by sean.t.kelly.2.