Connecting Rust to Microsoft SQL Server on Linux

preview_player
Показать описание


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

#rustlang #sqlserver #linux
Рекомендации по теме
Комментарии
Автор

Your link to the odbc crate is malformed so when it is clicked, it includes the closing parenthesis in the uri. That causes a not found error.

DaRealCodeBlack
Автор

Brasil - Obrigado muito bom mesmo, funcionou perfeitamente e eu estava procurando e nao achava nada de forma simples e eficiente parabens!!!

ronaldomoreira
Автор

Thanks for posting this video, it helped me!

karanmali
Автор

Does Tiberius work? I tried it but for some, my python implementation works but rust with tiberius not

MrNiceseb
Автор

I recently discovered Rust and love it, but I'm in the same boat as you, everything at work is microsoft so definitely need a way to connect to sql server. Was a bit surprised that sql server is lacking support in the various db crates, but yes there is always odbc. Thanks for working out the quirks!

ransela
welcome to shbcf.ru