Skip to content

Error connecting to local MSSQL database #155

Description

@Morotai

All,

Checked with some nice folks in Discord on the issue below but have not found anyone that knows what this error means or how I can get passed it. I started a new project several times and the last one I passed --database mssql to mix phx.new to scaffold my project.

Hoping it's something simple I missed in my environment.

Environment

  • Elixir version (elixir -v): 1.15.5
  • TDS version (mix deps): 2.3
  • MSSQL Server version (SQL Server 2016 / 2019 / Azure SQL Edge): SQL Server 2019
  • Additional configuration parameter (ssl_opts, socket_options, ...):
  • Operating system: Windows 11

Expected behavior

iex -S mix should connect to the local SQL server and allow me to run queries

Actual behavior

When I run iex.bat -S mix, I get the following message:
[error] driver_select(0x0000021b85901290, 852, ERL_DRV_READ, 1) by tcp_inet driver #Port<0.53> stealing control of fd=852 from resource prim_tty:tty

[notice] Application my_app exited: shutdown

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions