Menu

#241 mysql caching_sha2_password

7.3-alfa
closed
Bug Report
2020-09-29
2018-04-26
No

MySQL 8 introduces the caching_sha2_password, I have tried setting MYSQL_OPT_GET_SERVER_PUBLIC_KEY option along with using the most recent libmysql.dll without much luck.

Is MYSQL_OPT_GET_SERVER_PUBLIC_KEY supported?
https://dev.mysql.com/doc/refman/8.0/en/mysql-options.html

Related

Wiki: Things to know about the Zeos 7.2 release

Discussion

  • marsupilami79

    marsupilami79 - 2018-04-26

    This is not supported currently. Implementing it would require a modification of TMySqlOption in ZPlainMySqlConstants.pas as well as a modification of TZMySQLConnection.Open in ZDbcMySql.pas.

     
  • Little Earth Solutions

    The issue is so far there is no version 8 libmysql.dll. The only version on the site is still 6; a version of 8 x64 is bundled with the server, not x86. So a 64bit binary works.

     
    • marsupilami79

      marsupilami79 - 2018-04-27

      Hmmm - that is sad to see. I would like to integrate your changes into the Zeos 7.3 codebase nonetheless, if you think it works. Is the MYSQL_OPT_GET_SERVER_PUBLIC_KEY .zip still valid for that or did you do other changes?

       
  • Little Earth Solutions

    Those changes are all I made, I also added some of the other New options

     
  • EgonHugeist

    EgonHugeist - 2019-11-14

    Hi, i've ported all new MySQL8 options. You had a bug in your patch (the Ordinal value of MYSQL_OPT_GET_SERVER_PUBLIC_KEY was wrong because of wrong enum order).
    Patch done R6125 /testing-7.3 (SVN)
    Please close if OK

     
  • EgonHugeist

    EgonHugeist - 2019-11-14
    • assigned_to: EgonHugeist
     
  • EgonHugeist

    EgonHugeist - 2020-09-29
    • labels: mysql-8 --> mysql-8, MySQL options
    • status: open --> closed
    • Type: --> Bug Report
     
  • EgonHugeist

    EgonHugeist - 2020-09-29

    No reply, reopen if not OK.
    Regards, Michael

     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.