Problem with connection of R studio with SQL Server

Solomon P Obode 0 Reputation points
2023-10-24T09:58:27.71+00:00

I am trying to connect my R studio to SQL server but this error shows up, could someone assist on what I am missing or how to go about it?User's image

SQL Server | Other
{count} votes

1 answer

Sort by: Most helpful
  1. Erland Sommarskog 121.8K Reputation points MVP Volunteer Moderator
    2023-10-25T21:15:46.32+00:00

    That error means that you did not reach the SQL Server instance you were trying to access. I see that you are trying to access a local default instance. Possible reasons for the failure:

    • SQL Server is not running.
    • You don't have any local SQL Server instance at all.
    • You have an instance, but it is a named instance. For instance, SQL Express by default installs a named instance, SQLEXPRESS, to which you would connect as .\SQLEXPRESS
    • For some reason the protocol Shared Memory is disabled for the instance. You can check this in the SQL Server Configuration Manager.

    Since we don't know your environment, we cannot pinpoint exactly what's wrong.

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.