<?xml version="1.0" encoding="utf-8"?>
<feed xml:lang="en" xmlns="http://www.w3.org/2005/Atom"><title>Recent changes to 34: MySql caching_sha2_password</title><link href="https://sourceforge.net/p/rexxsql/support-requests/34/" rel="alternate"/><link href="https://sourceforge.net/p/rexxsql/support-requests/34/feed.atom" rel="self"/><id>https://sourceforge.net/p/rexxsql/support-requests/34/</id><updated>2023-12-18T09:02:33.803000Z</updated><subtitle>Recent changes to 34: MySql caching_sha2_password</subtitle><entry><title>#34 MySql caching_sha2_password</title><link href="https://sourceforge.net/p/rexxsql/support-requests/34/?limit=25#bee1" rel="alternate"/><published>2023-12-18T09:02:33.803000Z</published><updated>2023-12-18T09:02:33.803000Z</updated><author><name>Mark Hessling</name><uri>https://sourceforge.net/u/rexx/</uri></author><id>https://sourceforge.net4c44924281d4d4f310dee21eaf09441a0e2df7be</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Hi Jon,&lt;br/&gt;
Support request is ok.&lt;br/&gt;
I built Rexx/SQL with the MySQL 8.0 API on Linux and it connected with a caching_sha2_password login without any change. Also connected to a remote database with a mysql_native_password login and it also worked.&lt;br/&gt;
I'm assuming that you are using Windows; I'm hoping I just need to build Rexx/SQL for MySQL using the 8.0 API and it will connect to both login types.&lt;br/&gt;
I might need to supply the MySQL 8.0 DLL with the Rexx/SQL installer as an option.&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>MySql caching_sha2_password</title><link href="https://sourceforge.net/p/rexxsql/support-requests/34/" rel="alternate"/><published>2023-11-28T11:28:27.430000Z</published><updated>2023-11-28T11:28:27.430000Z</updated><author><name>Jon Wolfers</name><uri>https://sourceforge.net/u/sahananda/</uri></author><id>https://sourceforge.net6de25fe7f4ff72fe197a5a68a31ba344c1bfaa50</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Hi Mark,&lt;/p&gt;
&lt;p&gt;I'm not sure whether this should be a support request or a feature request.&lt;/p&gt;
&lt;p&gt;I recently installed MySql 8.  Whereas previous versions of MySql had defaulted to mysql_native_password for the login mechanism, 8.0 defaults to caching_sha2_password which I could not work out how to connect using  rexx/sql.&lt;/p&gt;
&lt;p&gt;As a workaround I had to alter each user like this:&lt;br/&gt;
ALTER '&lt;em&gt;user&lt;/em&gt;'@'&lt;em&gt;host&lt;/em&gt;' IDENTIFIED WITH mysql_native_password BY '&lt;em&gt;password&lt;/em&gt;'&lt;/p&gt;
&lt;p&gt;This works fine for me - where all the connections to the database are made using rexx/sql, but it might be nice to support caching_sha2_password or perhaps document the steps needed to modify your user such that rexx/sql can still connect to MySql 8&lt;/p&gt;
&lt;p&gt;Jon&lt;/p&gt;&lt;/div&gt;</summary></entry></feed>