Skip to content

Commit 504e41e

Browse files
authored
Update 001-sql-server-start-from-scratch.mdx - No connection could be made because the target machine actively refused it. (os error 10061) (prisma#1179)
Got stuck in the tutorial with the following error while following the tutorial: Error: Error in connector: Error querying the database: Error querying the database: Error querying the database: An error occured during the attempt of performing I/O: No connection could be made because the target machine actively refused it. (os error 10061) Figured it will help others get unstuck faster. :)
1 parent 099e280 commit 504e41e

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

content/200-concepts/100-components/07-preview-features/100-sql-server/001-sql-server-start-from-scratch.mdx

+2
Original file line numberDiff line numberDiff line change
@@ -153,6 +153,8 @@ To connect to your Microsoft SQL Server database:
153153
154154
1. Adjust the connection string to match your setup - see [Microsoft SQL Server connection string](sql-server-connection-string) for more information.
155155

156+
> Make sure TCP/IP connections are enabled via [SQL Server Configuration Manager](https://docs.microsoft.com/en-us/sql/relational-databases/sql-server-configuration-manager) to avoid `No connection could be made because the target machine actively refused it. (os error 10061)`
157+
156158
1. Introspect your database to validate your connection string - the CLI will throw a `P4001` error because your database is empty:
157159

158160
<CodeWithResult>

0 commit comments

Comments
 (0)