Cannot connect Hasura graphql with existing Microsoft SQL Server database

Cannot connect Hasura graphql with existing Microsoft SQL Server database


0

I am unable to connect hasura with already existing Microsoft SQL Server database. For testing purpose I have used a local Microsoft SQL Server database with:

  • server name: (LocalDb)MSSQLLocalDB
  • user_name: user
  • password: pass

I have used the hasura cloud for connecting the existing database.

This is the database url:

Driver={ODBC Driver 18 for SQL Server};Server=tcp (LocalDb)MSSQLLocalDB,1433;Database=tester;Uid=user;Pwd=password;Encrypt=optional

Error :

[
    {
        "definition": "Default",
        "message": {
            "exception": {
                "message": "[Microsoft][ODBC Driver 18 for SQL Server]Login timeout expired",
                "type": "unsuccessful_return_code"
            }
        },
        "name": "source Default",
        "reason": "Inconsistent object: mssql connection error",
        "type": "source"
    }
]

1

  • Umm, how will cloud be able to connect to your local computer?

    – siggemannen

    30 mins ago


Load 4 more related questions


Show fewer related questions

0



Leave a Reply

Your email address will not be published. Required fields are marked *