Giter Club home page Giter Club logo

Comments (6)

nineinchnick avatar nineinchnick commented on June 6, 2024 1

You need to have the more specific entry first, so switch them. They're matched from top to bottom.

from usql.

nineinchnick avatar nineinchnick commented on June 6, 2024

One of the entries in .usqlpass needs to have a hostname.

from usql.

nineinchnick avatar nineinchnick commented on June 6, 2024

Those two wildcard entries read in English like this:

Connect to any MSSQL server as myusername with the password as password1 AND password2

Which doesn't really make sense.

from usql.

MichalisDBA avatar MichalisDBA commented on June 6, 2024

Thanks for the info but.

I put this in .usqlpass

mssql:*:*:*:myusername:password1
mssql:10.1.0.10:*:*:myusername:password2

and then tried to connect like this

usql mssql://10.1.0.10/DB_NAME

and says login failed and asked for password.

from usql.

MichalisDBA avatar MichalisDBA commented on June 6, 2024

Yes that works. Maybe it has to be better documented. Thank you!

from usql.

kenshaw avatar kenshaw commented on June 6, 2024

Please see the updated README.md, and use \cset and/or the config.yaml for usql. Thanks.

from usql.

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.