Comments (5)
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.
Maybe try replacing (localdb)\MSSQLLocalDB
with 127.0.0.1?
from datastation.
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.
hopefully a resolution will be found by someone. 🤞🏼
from datastation.
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)
- Support temporary security credentials in IAM HOT 1
- Read AWS IAM credentials from the environment
- Process imported CSV files on the fly for light type conversion HOT 3
- Neo4j does not support connecting over SSH HOT 2
- Use OAuth for BigQuery and Google Sheets HOT 1
- Does this work on apple silicon natively? HOT 3
- Table panel columns are not in the same order as its data source HOT 1
- Cannot use non-default database ports eg 1522 for Oracle HOT 5
- SSH ignoring non-standard port HOT 4
- Support signing HTTP requests to Amazon OpenSearch Service HOT 1
- Optional auth? HOT 3
- Add support for reading syslog files HOT 2
- Add support for Datastax Astra's Cassandra HOT 2
- AWS Redshift support via IAM HOT 1
- Snowflake OAuth / externalbrowser support HOT 1
- Where the created projects saved HOT 1
- Role/group restrictions using OpenID HOT 1
- Isolated projects for authenticated Users HOT 1
- Add support a DuckDB database
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from datastation.