Connecting Rust to Microsoft SQL Server on Linux

Published: 01 April 2020
on channel: Vagelis Prokopiou
4,111
76

Using the odbc Rust crate to connect to SQL server (https://crates.io/crates/odbc).

Install the Microsoft ODBC driver for SQL Server (Linux): https://docs.microsoft.com/en-us/sql/...

Install: sudo apt-get install unixodbc-dev
Connection string: driver={ODBC Driver 17 for SQL Server}; server=localhost; database=BPE; uid=sa; pwd=123456aA!;

PR: https://github.com/Koka/odbc-rs/pull/164

#rustlang #sqlserver #linux


Watch video Connecting Rust to Microsoft SQL Server on Linux online without registration, duration hours minute second in high quality. This video was added by user Vagelis Prokopiou 01 April 2020, don't forget to share it with your friends and acquaintances, it has been viewed on our site 4,111 once and liked it 76 people.