<?xml version="1.0" encoding="UTF-8" ?>

<bugzilla version="5.2"
          urlbase="https://bugzilla.altlinux.org/"
          
          maintainer="jenya@basealt.ru"
>

    <bug>
          <bug_id>51437</bug_id>
          
          <creation_ts>2024-09-09 15:50:46 +0300</creation_ts>
          <short_desc>Не работает без пакета unixODBC</short_desc>
          <delta_ts>2026-10-11 15:37:27 +0300</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>4</classification_id>
          <classification>Development</classification>
          <product>Sisyphus</product>
          <component>mysql-connector-odbc</component>
          <version>unstable</version>
          <rep_platform>x86_64</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P5</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="obidinog@basealt.ru">obidinog</reporter>
          <assigned_to name="Nikolai Kostrigin">nickel</assigned_to>
          <cc>lav</cc>
          
          <qa_contact>qa-sisyphus</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>251409</commentid>
    <comment_count>0</comment_count>
    <who name="obidinog@basealt.ru">obidinog</who>
    <bug_when>2024-09-09 15:50:46 +0300</bug_when>
    <thetext>Платформа:
alt-server 10.2 x86_64 Обновленный до Sisyphus

Пакеты:
mysql-connector-odbc-8.0.37-alt1
libunixODBC2-2.3.12-alt1
libmysqlclient21-8.0.39-alt1

Шаги:
# apt-get install mysql-connector-odbc

# myodbc-installer -d -a -n &quot;MySQL ODBC 8.0 Unicode Driver&quot; -t &quot;DRIVER=/usr/lib64/libmyodbc8w.so;SETUP=/usr/lib64/libmyodbc8a.so&quot;

# myodbc-installer -d -l

# myodbc-installer -s -a -c2 -n &quot;test&quot; -t &quot;DRIVER=MySQL ODBC 8.0 Unicode Driver;SERVER=localhost;DATABASE=test;UID=myid;PWD=mypwd&quot;

Результат:
[ERROR] SQLInstaller error 6: Unable to find component name
[ERROR] SQLInstaller error 6: Unable to find component name
[ERROR] Data source entry failed, remove or try again

Ожидаемый результат:
Success

Дополнительно:
Если установить пакет unixODBC то команда выполняется успешно
В p10 не воспроизводится, предполагаю из-за того, что libunixODBC2 2.3.7-alt1 версии</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>296466</commentid>
    <comment_count>1</comment_count>
    <who name="Anton Farygin">rider</who>
    <bug_when>2026-09-07 09:55:52 +0300</bug_when>
    <thetext>Проверка актуальности: актуально в mysql-connector-odbc 9.7.0-alt1 (пакет удалялся и вернулся). В Requires только libodbc.so.2 и libodbcinst.so.2 (пакет libunixODBC2), а утилита myodbc-installer работает через odbcinst и системные /etc/odbcinst.ini и /etc/odbc.ini, которые ставит пакет unixODBC — без него «SQLInstaller error 6: Unable to find component name». Нужно добавить Requires: unixODBC.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>301719</commentid>
    <comment_count>2</comment_count>
    <who name="Repository Robot">repository-robot</who>
    <bug_when>2026-10-11 15:37:27 +0300</bug_when>
    <thetext>mysql-connector-odbc-26.7.1-alt1 -&gt; sisyphus:

Sun Oct 11 2026 Vitaly Lipatov &lt;lav@altlinux.ru&gt; 26.7.1-alt1
- new version 26.7.1
- driver libraries renamed upstream to libmyodbc26[aw].so
- add Requires: unixODBC for myodbc-installer (closes: #51437)
- security fixes (Oracle Critical Patch Update, August 2026):
  + CVE-2026-71079: fix Connector/ODBC vulnerability exploitable via MySQL protocol.
  + CVE-2026-71084: fix local Connector/ODBC vulnerability.
  + CVE-2026-71073: fix local Connector/ODBC vulnerability.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>