<?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: Databricks App deployment fails: mysqlclient build error (pkg-config not found) in Data Engineering</title>
    <link>https://community.databricks.com/t5/data-engineering/databricks-app-deployment-fails-mysqlclient-build-error-pkg/m-p/144379#M52314</link>
    <description>&lt;P&gt;Hi All,&lt;/P&gt;&lt;DIV&gt;&lt;P&gt;I’m still looking for guidance on this issue and haven’t been able to find a solution yet. If anyone has encountered something similar or has suggestions on how I can troubleshoot this further, I’d really appreciate your help.&lt;/P&gt;&lt;P&gt;Please let me know if more details, logs, or code snippets would be helpful — I can share whatever is needed.&lt;/P&gt;&lt;P&gt;Thanks !&lt;/P&gt;&lt;/DIV&gt;</description>
    <pubDate>Mon, 19 Jan 2026 04:55:15 GMT</pubDate>
    <dc:creator>vamsi_simbus</dc:creator>
    <dc:date>2026-01-19T04:55:15Z</dc:date>
    <item>
      <title>Databricks App deployment fails: mysqlclient build error (pkg-config not found)</title>
      <link>https://community.databricks.com/t5/data-engineering/databricks-app-deployment-fails-mysqlclient-build-error-pkg/m-p/143744#M52219</link>
      <description>&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Hi Community Members,&lt;/P&gt;&lt;P&gt;I’m deploying a Python project as a &lt;STRONG&gt;Databricks App, but deployment fails during dependency installation with:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;ERROR: Failed &lt;SPAN class=""&gt;&lt;SPAN class=""&gt;to build &lt;SPAN class=""&gt;'MySQL client' pkg-config: &lt;SPAN class=""&gt;not &lt;SPAN class=""&gt;found &lt;SPAN class=""&gt;Exception: Can &lt;SPAN class=""&gt;not find &lt;SPAN class=""&gt;valid pkg-config &lt;SPAN class=""&gt;name&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;P&gt;The dependency is pulled indirectly via:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;ibis-framework&lt;SPAN class=""&gt;&lt;SPAN class=""&gt;[MySQL]&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;P&gt;From my understanding, Databricks Apps don’t allow OS-level dependencies, and MySQL client requires native MySQL/MariaDB libraries—so pip fails when trying to build it from source.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Questions:&lt;/STRONG&gt;&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;&lt;P&gt;Are there any supported workarounds for native dependencies in Databricks Apps?&lt;/P&gt;&lt;P&gt;Thanks in advance for your help!&lt;/P&gt;&lt;/LI&gt;&lt;/OL&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Mon, 12 Jan 2026 11:35:29 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/databricks-app-deployment-fails-mysqlclient-build-error-pkg/m-p/143744#M52219</guid>
      <dc:creator>vamsi_simbus</dc:creator>
      <dc:date>2026-01-12T11:35:29Z</dc:date>
    </item>
    <item>
      <title>Re: Databricks App deployment fails: mysqlclient build error (pkg-config not found)</title>
      <link>https://community.databricks.com/t5/data-engineering/databricks-app-deployment-fails-mysqlclient-build-error-pkg/m-p/144379#M52314</link>
      <description>&lt;P&gt;Hi All,&lt;/P&gt;&lt;DIV&gt;&lt;P&gt;I’m still looking for guidance on this issue and haven’t been able to find a solution yet. If anyone has encountered something similar or has suggestions on how I can troubleshoot this further, I’d really appreciate your help.&lt;/P&gt;&lt;P&gt;Please let me know if more details, logs, or code snippets would be helpful — I can share whatever is needed.&lt;/P&gt;&lt;P&gt;Thanks !&lt;/P&gt;&lt;/DIV&gt;</description>
      <pubDate>Mon, 19 Jan 2026 04:55:15 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/databricks-app-deployment-fails-mysqlclient-build-error-pkg/m-p/144379#M52314</guid>
      <dc:creator>vamsi_simbus</dc:creator>
      <dc:date>2026-01-19T04:55:15Z</dc:date>
    </item>
    <item>
      <title>Re: Databricks App deployment fails: mysqlclient build error (pkg-config not found)</title>
      <link>https://community.databricks.com/t5/data-engineering/databricks-app-deployment-fails-mysqlclient-build-error-pkg/m-p/144623#M52353</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.databricks.com/t5/user/viewprofilepage/user-id/135943"&gt;@vamsi_simbus&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;Databricks Apps don’t yet support installing OS-level packages (apt-get, pkg-config, native client libs).&lt;/P&gt;
&lt;P&gt;Could you try to install a Python native MySQL client as a backend of ibis:&lt;/P&gt;
&lt;OL&gt;
&lt;LI&gt;Install the core framework only:&amp;nbsp;&lt;FONT face="courier new,courier"&gt;ibis-framework&lt;/FONT&gt;&lt;/LI&gt;
&lt;LI&gt;Install the mysql connector: &lt;FONT face="courier new,courier"&gt;&lt;SPAN&gt;PyMySQL&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/LI&gt;
&lt;LI&gt;&amp;nbsp;When you connect, you must explicitly tell Ibis to use the &lt;CODE data-path-to-node="8" data-index-in-node="59"&gt;pymysql&lt;/CODE&gt; driver by adding it to the connection URL. This prevents Ibis from looking for the default system-level drivers:&lt;BR /&gt;&lt;LI-CODE lang="python"&gt;import ibis

# Format: mysql+pymysql://user:pass@host:port/database
con = ibis.connect("mysql+pymysql://root:password@localhost:3306/my_db")​&lt;/LI-CODE&gt;&lt;/LI&gt;
&lt;/OL&gt;
&lt;P&gt;Please let me know if it helps.&lt;/P&gt;
&lt;P&gt;Best regards,&amp;nbsp;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 20 Jan 2026 16:50:26 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/databricks-app-deployment-fails-mysqlclient-build-error-pkg/m-p/144623#M52353</guid>
      <dc:creator>aleksandra_ch</dc:creator>
      <dc:date>2026-01-20T16:50:26Z</dc:date>
    </item>
  </channel>
</rss>

