Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

cannot connect to the sql server databse #274

Open
kasiasulowska opened this issue Jan 10, 2024 · 5 comments
Open

cannot connect to the sql server databse #274

kasiasulowska opened this issue Jan 10, 2024 · 5 comments
Labels
bug Something isn't working

Comments

@kasiasulowska
Copy link

Hi!

I really would love to try Azimutt on our huge and complex database (over 1000 tables) but I failed to connect...
Firstly I tried to connect through your website, but I got an error:

    Loaded Server=**.***.**.204:,1433;Database=*;User ID=*;Password=*;TrustServerCertificate=True;Encrypt=False database.
    http://localhost:4177: Failed to fetch
    https://gateway.azimutt.app: Failed to connect to**.***.**.204:,1433 - self signed certificate
    Done! 

Then I tried to connect to my local db through npm but also failed and I'm getting an error:

    sqlserver not recognized from url (got undefined), will try anyway but expect some errors...
    
    Source kind 'sqlserver' is not supported :(
    But you're welcome to send an issue or PR at https://github.com/azimuttapp/azimutt ;)

Any advise how to solve these issues?

BTW I also failed (44323 errors :( ) with importing sql structure and after clicking 'send report' I got a blank website.

I'm using Win 11.

Many thanks for any feedback,
kasia

@loicknuchel
Copy link
Contributor

Hi @kasiasulowska

Thanks for reporting this, let's try to get this working...
First let's try to connect with Azimutt CLI to your local database:

  • which version of the CLI are you using? (should be shown just below the Azimutt ascii are when you start, it should be 0.0.27)
  • what is your database url format? (replace with fake values but keep the format)

Your error Source kind 'sqlserver' is not supported make me guess you are on a old version.

@loicknuchel loicknuchel added the bug Something isn't working label Jan 13, 2024
@kasiasulowska
Copy link
Author

Hi @loicknuchel,

It looks like I'm using 0.0.27 version:
image

And the command I used for connecting to the db:
npx azimutt export sqlserver Server=11.111.11.111,1234;Database=XX_111_XX;User ID=xxx;Password=xxx

@paulinejamin
Copy link

paulinejamin commented Jan 17, 2024

Hi @loicknuchel!

I'm facing the same issue. Launched the gateway and trying to connect to my SQL Server database with this connection string:
Server=localhost,1433;Database=*;User Id=*;Password=*;Trusted_Connection=True;TrustServerCertificate=True

And go this error:

Loaded Server=localhost,1433;Database=*;User Id=*;Password=*;Trusted_Connection=True;TrustServerCertificate=True database.
http://localhost:4177: Failed to connect to localhost:1433 - self-signed certificate
https://gateway.azimutt.app: Failed to connect to localhost:1433 - Could not connect (sequence)
Done!

NB: CLI version is 0.0.27

@loicknuchel
Copy link
Contributor

Hi!
I just updated the CLI to version 0.0.28 and I hope it will work 🤞
Tell me how it goes.
Cheers!

@kasiasulowska
Copy link
Author

kasiasulowska commented Feb 15, 2024

Hi!
I just updated the CLI to version 0.0.32 but I'm still encountering the problem:
image

The string which I used for the connection:
npx azimutt export Server=localhost,1433;Database=*;UserID=*;Password=*;Trusted_Connection=True;TrustServerCertificate=True

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants