Share via

sql for mackbook

HossamHassan-3347 0 Reputation points
2023-09-30T20:40:16.19+00:00
SQL Server | Other
SQL Server | Other

Additional SQL Server features and topics not covered by specific categories

0 comments No comments

3 answers

Sort by: Most helpful
  1. Bruce (SqlWork.com) 84,086 Reputation points
    2023-10-02T01:58:16.93+00:00

    Azure data studio uses the lastest SQL driver. The new default is to use ssl to encrypt the connection. Unless you bought a trusted cert for the sql server it is using a self signed cert that you must trust in the connection string.

    you can just click on the trust button, or toggle the connection setting.

    you can not alter a database if it in use. Just kill any connections, it might be the tool.

    note: if you are not using sql authentication, than you will use Mac’s ticketviewer app to login and get a Kerberos token. Azure data studio or your code will use this ticket. Linux and Mac only support one user session per domain. thats why the login is global.

    Was this answer helpful?

    0 comments No comments

  2. HossamHassan-3347 0 Reputation points
    2023-10-01T20:40:19.3066667+00:00

    Image 30-09-2023 at 11.38 PM

    Was this answer helpful?

    0 comments No comments

  3. Bruce (SqlWork.com) 84,086 Reputation points
    2023-09-30T22:38:25.8+00:00

    depends on if your MacBook is a M1/M2 or Intel. In both cases you use a docker image

    if intel, use the linux docker image:

    https://learn.microsoft.com/en-us/sql/linux/quickstart-install-connect-docker?view=sql-server-ver16&pivots=cs1-bash

    if M1/M2 then use azure sql edge arm64:

    https://hub.docker.com/_/microsoft-azure-sql-edge

    to access sql use azure data studio:

    https://azure.microsoft.com/en-us/products/data-studio

    Was this answer helpful?


Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.