sql_server_express_connnection_tutorial
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| sql_server_express_connnection_tutorial [2024/01/26 11:23] – [Troubleshooting] amyw | sql_server_express_connnection_tutorial [2024/01/26 12:03] (current) – [Connect to SQL Server Express database with JDBC Driver in MIStudio] amyw | ||
|---|---|---|---|
| Line 141: | Line 141: | ||
| database class name: com.microsoft.sqlserver.jdbc.SQLServerDrive | database class name: com.microsoft.sqlserver.jdbc.SQLServerDrive | ||
| database url: jdbc: | database url: jdbc: | ||
| + | or with parameters, such as: jdbc: | ||
| username: the username you created in SQL server Express | username: the username you created in SQL server Express | ||
| password: the password of the username you created in the SQL server Express | password: the password of the username you created in the SQL server Express | ||
| - | Troubleshooting: | + | |
| - | + | ||
| - | if you get error in Mistudio console when you try to connect to the database such as: " | + | |
| - | + | ||
| - | add “encrypt=true; | + | |
| - | + | ||
| - | jdbc: | + | |
| - | + | ||
| - | | + | |
| Line 159: | Line 152: | ||
| Use MIStudio Error Messages and SSMS log file for troubleshooting: | Use MIStudio Error Messages and SSMS log file for troubleshooting: | ||
| - | - Ordered List Item | + | |
| ==** Example MIStudio error: “TCP could be blocked by a firewall. No connection for user username”.== | ==** Example MIStudio error: “TCP could be blocked by a firewall. No connection for user username”.== | ||
| Line 165: | Line 158: | ||
| - | - Ordered List Item | + | |
| ==** Example MIStudio error: " | ==** Example MIStudio error: " | ||
| Line 172: | Line 165: | ||
| - | + | | |
| - | - Ordered List Item | + | |
| - | == ** Example SSMS Log file error: “login failed for user " | + | |
sql_server_express_connnection_tutorial.1706286222.txt.gz · Last modified: by amyw
