Py4JJavaError: An error occurred while calling o193.load. : com.microsoft.sqlserver.jdbc.SQLServerException: Login failed for user 'Sejal_Mohata'. ClientConnectionId:fe9ada9b-9df6-4b8c-aded-e4758d04f2fd code example
Example: SQLServerException.makeFromDatabaseError
DriverManager.getConnection("jdbc:sqlserver://localhost:1433;databaseName=SocialFamilyTree;integratedSecurity=true;");