GithubHelp home page GithubHelp logo

Comments (5)

eatonphil avatar eatonphil commented on June 4, 2024 1

DataStation just passes the connection string along to the underlying library. So you could ask this question in https://github.com/denisenkom/go-mssqldb (the library used for connecting to SQL Server) and maybe they'll know!

from datastation.

eatonphil avatar eatonphil commented on June 4, 2024

Maybe try replacing (localdb)\MSSQLLocalDB with 127.0.0.1?

from datastation.

fortunewalla avatar fortunewalla commented on June 4, 2024

Maybe try replacing (localdb)\MSSQLLocalDB with 127.0.0.1?

Thanks for trying to help out but It gives the following error.

Error evaluating panel:
[INFO] 2023-08-22T18:19:13 DataStation Runner (Go) 0.11.0
[INFO] 2023-08-22T18:19:13 Evaling database panel: Untitled panel #1
[INFO] 2023-08-22T18:19:16 Failed to eval: unable to open tcp connection with host '127.0.0.1:1433': dial tcp 127.0.0.1:1433: connectex: No connection could be made because the target machine actively refused it.

This would make it use TCP connection instead of ODBC connection.

As per the original error, it cannot parse the \ slash in the server name properly. I think? 🤔

from datastation.

fortunewalla avatar fortunewalla commented on June 4, 2024

hopefully a resolution will be found by someone. 🤞🏼

from datastation.

fortunewalla avatar fortunewalla commented on June 4, 2024

So as per the suggestion given on this page: https://weblogs.asp.net/jongalloway/sql-force-the-protocol-tcp-named-pipes-etc-in-your-connection-string

I tried with the connection string Server=np:(localdb)\MSSQLLocalDB

It now gives a different error where it parses everything after : as a port number.

Error evaluating panel:
[INFO] 2023-08-27T16:40:05 DataStation Runner (Go) 0.11.0
[INFO] 2023-08-27T16:40:05 Evaling database panel: Untitled panel #1
[INFO] 2023-08-27T16:40:05 Failed to eval: parse "sqlserver://@Server=np:(localdb)\\MSSQLLocalDB?database=pubs": invalid port ":(localdb)\\MSSQLLocalDB" after host

P.S. I'm posting it here also for future use by someone. 😇

from datastation.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.