<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Error: ('01000', &amp;quot;[01000] [unixODBC][Driver Manager]Can't open lib 'ODBC Driver 17 for SQL in Data Engineering</title>
    <link>https://community.databricks.com/t5/data-engineering/error-01000-quot-01000-unixodbc-driver-manager-can-t-open-lib/m-p/96768#M39345</link>
    <description>&lt;P&gt;I think INIT script is the only way, because when you run the script in notebook, you will get error message, it says you are not root need password.&lt;/P&gt;</description>
    <pubDate>Wed, 30 Oct 2024 07:54:14 GMT</pubDate>
    <dc:creator>zmsoft</dc:creator>
    <dc:date>2024-10-30T07:54:14Z</dc:date>
    <item>
      <title>Error: ('01000', "[01000] [unixODBC][Driver Manager]Can't open lib 'ODBC Driver 17 for SQL Server' :</title>
      <link>https://community.databricks.com/t5/data-engineering/error-01000-quot-01000-unixodbc-driver-manager-can-t-open-lib/m-p/91989#M38309</link>
      <description>&lt;P&gt;Hi there,&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;My cluster version is 15.4 LTS, and the workspace has UC enabled.&lt;/SPAN&gt;&lt;SPAN class=""&gt; When I used the initialization script to install ODBC Driver 17 for SQL Server, there were no errors and the cluster started successfully.&lt;/SPAN&gt;&lt;SPAN class=""&gt; But when I use ODBC Driver 17 for SQL Server in the notebook to update the database record, I get an error.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;Any suggestion?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;Thanks &amp;amp; Regards&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 27 Sep 2024 03:27:27 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/error-01000-quot-01000-unixodbc-driver-manager-can-t-open-lib/m-p/91989#M38309</guid>
      <dc:creator>zmsoft</dc:creator>
      <dc:date>2024-09-27T03:27:27Z</dc:date>
    </item>
    <item>
      <title>Re: Error: ('01000', "[01000] [unixODBC][Driver Manager]Can't open lib 'ODBC Driver 17 for SQL</title>
      <link>https://community.databricks.com/t5/data-engineering/error-01000-quot-01000-unixodbc-driver-manager-can-t-open-lib/m-p/92004#M38317</link>
      <description>&lt;P&gt;Is it not possible for you to use the built in sqlserver-driver?&lt;BR /&gt;Sample code for reading below&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;spark.read \&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; .&lt;/SPAN&gt;&lt;SPAN&gt;format&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;"&lt;/SPAN&gt;&lt;SPAN&gt;sqlserver&lt;/SPAN&gt;&lt;SPAN&gt;"&lt;/SPAN&gt;&lt;SPAN&gt;) \&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; .&lt;/SPAN&gt;&lt;SPAN&gt;option&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;"&lt;/SPAN&gt;&lt;SPAN&gt;host&lt;/SPAN&gt;&lt;SPAN&gt;"&lt;/SPAN&gt;&lt;SPAN&gt;, &lt;/SPAN&gt;&lt;SPAN&gt;"&lt;/SPAN&gt;&lt;SPAN&gt;xxx.database.windows.net&lt;/SPAN&gt;&lt;SPAN&gt;"&lt;/SPAN&gt;&lt;SPAN&gt;) \&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; .&lt;/SPAN&gt;&lt;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lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; .&lt;/SPAN&gt;&lt;SPAN&gt;option&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;"&lt;/SPAN&gt;&lt;SPAN&gt;hostNameInCertificate&lt;/SPAN&gt;&lt;SPAN&gt;"&lt;/SPAN&gt;&lt;SPAN&gt;, &lt;/SPAN&gt;&lt;SPAN&gt;"&lt;/SPAN&gt;&lt;SPAN&gt;*.database.windows.net&lt;/SPAN&gt;&lt;SPAN&gt;"&lt;/SPAN&gt;&lt;SPAN&gt;)&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Fri, 27 Sep 2024 08:01:09 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/error-01000-quot-01000-unixodbc-driver-manager-can-t-open-lib/m-p/92004#M38317</guid>
      <dc:creator>MarcusC</dc:creator>
      <dc:date>2024-09-27T08:01:09Z</dc:date>
    </item>
    <item>
      <title>Re: Error: ('01000', "[01000] [unixODBC][Driver Manager]Can't open lib 'ODBC Driver 17 for SQL</title>
      <link>https://community.databricks.com/t5/data-engineering/error-01000-quot-01000-unixodbc-driver-manager-can-t-open-lib/m-p/92011#M38321</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.databricks.com/t5/user/viewprofilepage/user-id/104329"&gt;@MarcusC&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I want to update database rows using the odbc driver&lt;/P&gt;</description>
      <pubDate>Fri, 27 Sep 2024 09:34:37 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/error-01000-quot-01000-unixodbc-driver-manager-can-t-open-lib/m-p/92011#M38321</guid>
      <dc:creator>zmsoft</dc:creator>
      <dc:date>2024-09-27T09:34:37Z</dc:date>
    </item>
    <item>
      <title>Re: Error: ('01000', "[01000] [unixODBC][Driver Manager]Can't open lib 'ODBC Driver 17 for SQL</title>
      <link>https://community.databricks.com/t5/data-engineering/error-01000-quot-01000-unixodbc-driver-manager-can-t-open-lib/m-p/96724#M39326</link>
      <description>&lt;P&gt;Is there any update on this issue? is it solved?&lt;/P&gt;</description>
      <pubDate>Tue, 29 Oct 2024 23:07:49 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/error-01000-quot-01000-unixodbc-driver-manager-can-t-open-lib/m-p/96724#M39326</guid>
      <dc:creator>APat449</dc:creator>
      <dc:date>2024-10-29T23:07:49Z</dc:date>
    </item>
    <item>
      <title>Re: Error: ('01000', "[01000] [unixODBC][Driver Manager]Can't open lib 'ODBC Driver 17 for SQL</title>
      <link>https://community.databricks.com/t5/data-engineering/error-01000-quot-01000-unixodbc-driver-manager-can-t-open-lib/m-p/96747#M39336</link>
      <description>&lt;P&gt;In Unity catalog environment, if you want to using odbc driver to update database rows, you need to create a volumn, and put the odbc install script file to volumn, then add allow list. After that you can modify computer configuration to add init script. When odbc driver install successfully, you can using odbc driver now.&lt;/P&gt;</description>
      <pubDate>Wed, 30 Oct 2024 05:20:20 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/error-01000-quot-01000-unixodbc-driver-manager-can-t-open-lib/m-p/96747#M39336</guid>
      <dc:creator>zmsoft</dc:creator>
      <dc:date>2024-10-30T05:20:20Z</dc:date>
    </item>
    <item>
      <title>Re: Error: ('01000', "[01000] [unixODBC][Driver Manager]Can't open lib 'ODBC Driver 17 for SQL</title>
      <link>https://community.databricks.com/t5/data-engineering/error-01000-quot-01000-unixodbc-driver-manager-can-t-open-lib/m-p/96750#M39338</link>
      <description>&lt;P&gt;thanks for your quick response..&lt;BR /&gt;so if I understand correctly, you are asking to create an init script and put it in UC Volume, and then use that path in the DBK cluster's init script?&lt;BR /&gt;&lt;BR /&gt;and as teh INIT script are you referring to something like this?&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;curl --silent &lt;A href="https://packages.microsoft.com/keys/microsoft.asc" target="_blank"&gt;https://packages.microsoft.com/keys/microsoft.asc&lt;/A&gt; | apt-key add -&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;curl &lt;A href="https://packages.microsoft.com/config/ubuntu/22.04/prod.list" target="_blank"&gt;https://packages.microsoft.com/config/ubuntu/22.04/prod.list&lt;/A&gt; &amp;gt; /etc/apt/sources.list.d/mssql-release.list&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;# Install msodbcsql18&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;apt-get update&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;ACCEPT_EULA=Y apt-get --quiet ---yes install msodbcsql18&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;P&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 30 Oct 2024 05:26:37 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/error-01000-quot-01000-unixodbc-driver-manager-can-t-open-lib/m-p/96750#M39338</guid>
      <dc:creator>APat449</dc:creator>
      <dc:date>2024-10-30T05:26:37Z</dc:date>
    </item>
    <item>
      <title>Re: Error: ('01000', "[01000] [unixODBC][Driver Manager]Can't open lib 'ODBC Driver 17 for SQL</title>
      <link>https://community.databricks.com/t5/data-engineering/error-01000-quot-01000-unixodbc-driver-manager-can-t-open-lib/m-p/96751#M39339</link>
      <description>&lt;P&gt;Also is INIT script route is the only route? or is there any other option available?&lt;BR /&gt;the reason I am asking, some time back we had a call with DBK and then they mentioned like usage of INIT script is not the right way or so.. cant recall exact explanation though.&lt;/P&gt;</description>
      <pubDate>Wed, 30 Oct 2024 05:28:59 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/error-01000-quot-01000-unixodbc-driver-manager-can-t-open-lib/m-p/96751#M39339</guid>
      <dc:creator>APat449</dc:creator>
      <dc:date>2024-10-30T05:28:59Z</dc:date>
    </item>
    <item>
      <title>Re: Error: ('01000', "[01000] [unixODBC][Driver Manager]Can't open lib 'ODBC Driver 17 for SQL</title>
      <link>https://community.databricks.com/t5/data-engineering/error-01000-quot-01000-unixodbc-driver-manager-can-t-open-lib/m-p/96768#M39345</link>
      <description>&lt;P&gt;I think INIT script is the only way, because when you run the script in notebook, you will get error message, it says you are not root need password.&lt;/P&gt;</description>
      <pubDate>Wed, 30 Oct 2024 07:54:14 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/error-01000-quot-01000-unixodbc-driver-manager-can-t-open-lib/m-p/96768#M39345</guid>
      <dc:creator>zmsoft</dc:creator>
      <dc:date>2024-10-30T07:54:14Z</dc:date>
    </item>
  </channel>
</rss>

