<?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: Can't connect to MySQL v8.0.28 using SAS EG in SAS Enterprise Guide</title>
    <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Can-t-connect-to-MySQL-v8-0-28-using-SAS-EG/m-p/891503#M43575</link>
    <description>After checking some points with SAS tech support, reinstallation of MySQL components and restarting SAS the connection to the new database is successful.</description>
    <pubDate>Tue, 29 Aug 2023 14:32:31 GMT</pubDate>
    <dc:creator>JosvanderVelden</dc:creator>
    <dc:date>2023-08-29T14:32:31Z</dc:date>
    <item>
      <title>Can't connect to MySQL v8.0.28 using SAS EG</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Can-t-connect-to-MySQL-v8-0-28-using-SAS-EG/m-p/829816#M41284</link>
      <description>&lt;P&gt;After enabling auto update on one of our MySQL db, hosted in AWS, a new update was made to v8.0.28. Since then, we are not able to connect to the db, using the libname statement:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=""&gt;LIBNAME &amp;lt;libname_name&amp;gt; MYSQL SERVER='&amp;lt;server&amp;gt;' DATABASE='&amp;lt;db_name&amp;gt;' USER='&amp;lt;user&amp;gt;' PASSWORD='&amp;lt;password&amp;gt;';&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This is the rror message:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=""&gt;ERROR: Error trying to establish connection: SSL connection error: unknown error number
ERROR: Error in the LIBNAME statement.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This code had always worked, even without the port. It was working since we build our ETL framework, beginning 2021.&lt;/P&gt;&lt;P&gt;Fyi, using MySQL Workbench CE we can establish the connection, without any problem (no SSL is being used).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In the meantime, we realise that this can be related with the fact that MySQL v8.0.28 deprecated TLSv1 and TLSv1.1:&lt;/P&gt;&lt;P&gt;&lt;A href="https://dev.mysql.com/doc/refman/8.0/en/encrypted-connection-protocols-ciphers.html" target="_blank" rel="noopener"&gt;MySQL :: MySQL 8.0 Reference Manual :: 6.3.2 Encrypted Connection TLS Protocols and Ciphers&lt;/A&gt;&lt;/P&gt;&lt;P&gt;After realising this, we have updated our MySQL client to v8.0.30, including the MySQL Connector/Net. However, even after updating all MySQL tools to their newest versions, we still can't connect to the db using the libname. Btw, we are sure that the mysql client is using TLSv1.2 and v1.3, because we checked it directly in MySQL Workbench CE using the code:&lt;/P&gt;&lt;PRE&gt;SHOW GLOBAL VARIABLES LIKE 'tls_version';&lt;/PRE&gt;&lt;P&gt;Which returned:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="joaohenriques_0-1661241965577.png" style="width: 235px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/74590iDE7EC71375A02AEB/image-dimensions/235x51?v=v2" width="235" height="51" role="button" title="joaohenriques_0-1661241965577.png" alt="joaohenriques_0-1661241965577.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Before downgrading the MySQL versions, we would like to challenge you with this issue. Is this familiar to anyone?&lt;/P&gt;&lt;P&gt;Thanks in advance! &lt;span class="lia-unicode-emoji" title=":winking_face:"&gt;😉&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 23 Aug 2022 08:08:08 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Can-t-connect-to-MySQL-v8-0-28-using-SAS-EG/m-p/829816#M41284</guid>
      <dc:creator>joaohenriques</dc:creator>
      <dc:date>2022-08-23T08:08:08Z</dc:date>
    </item>
    <item>
      <title>Re: Can't connect to MySQL v8.0.28 using SAS EG</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Can-t-connect-to-MySQL-v8-0-28-using-SAS-EG/m-p/829821#M41285</link>
      <description>&lt;P&gt;I suggest that you open a track with SAS tech support to assist you in your trouble shooting.&lt;/P&gt;
&lt;P&gt;Since I suspect not many of the users of this forum have the exact the same set up as you.&lt;/P&gt;</description>
      <pubDate>Tue, 23 Aug 2022 09:04:00 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Can-t-connect-to-MySQL-v8-0-28-using-SAS-EG/m-p/829821#M41285</guid>
      <dc:creator>LinusH</dc:creator>
      <dc:date>2022-08-23T09:04:00Z</dc:date>
    </item>
    <item>
      <title>Re: Can't connect to MySQL v8.0.28 using SAS EG</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Can-t-connect-to-MySQL-v8-0-28-using-SAS-EG/m-p/829824#M41286</link>
      <description>This issue is currently under investigation by SAS Technical Support.</description>
      <pubDate>Tue, 23 Aug 2022 09:58:05 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Can-t-connect-to-MySQL-v8-0-28-using-SAS-EG/m-p/829824#M41286</guid>
      <dc:creator>JosvanderVelden</dc:creator>
      <dc:date>2022-08-23T09:58:05Z</dc:date>
    </item>
    <item>
      <title>Re: Can't connect to MySQL v8.0.28 using SAS EG</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Can-t-connect-to-MySQL-v8-0-28-using-SAS-EG/m-p/891499#M43574</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Did you finally solve the problem ?&lt;/P&gt;</description>
      <pubDate>Tue, 29 Aug 2023 14:18:24 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Can-t-connect-to-MySQL-v8-0-28-using-SAS-EG/m-p/891499#M43574</guid>
      <dc:creator>JCBelland</dc:creator>
      <dc:date>2023-08-29T14:18:24Z</dc:date>
    </item>
    <item>
      <title>Re: Can't connect to MySQL v8.0.28 using SAS EG</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Can-t-connect-to-MySQL-v8-0-28-using-SAS-EG/m-p/891503#M43575</link>
      <description>After checking some points with SAS tech support, reinstallation of MySQL components and restarting SAS the connection to the new database is successful.</description>
      <pubDate>Tue, 29 Aug 2023 14:32:31 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Can-t-connect-to-MySQL-v8-0-28-using-SAS-EG/m-p/891503#M43575</guid>
      <dc:creator>JosvanderVelden</dc:creator>
      <dc:date>2023-08-29T14:32:31Z</dc:date>
    </item>
  </channel>
</rss>

