PyCharm
 
Get PyCharm
You are viewing the documentation for an earlier version of PyCharm.

Microsoft SQL Server

Last modified: 20 September 2023

This topic presents a general procedure on how you can create a data source for the connection to your Microsoft SQL Server database in PyCharm, and run a test connection. It is assumed that you already have the necessary prerequisites and the database is up and running. For example, if you want to run a database on your machine and connect to that database, the corresponding DBMS software must be installed on the machine first.

For more information about configuring Microsoft SQL Server, Windows domain authentication, and user permissions, refer to How to connect to MS SQL server in the PyCharm documentation.

For more information about connecting to LocalDB, refer to How to connect to SQL Server Express LocalDB in the DataGrip documentation.