Recent

Author Topic: lazarus access mysql 8.0  (Read 1414 times)

@Func

  • New Member
  • *
  • Posts: 36
lazarus access mysql 8.0
« on: December 12, 2020, 06:04:03 pm »
It's seemed lazarus only can access mysql 5.7 and below. Does there have some solution to access mysql 8.0 . thanks a lot

Ñuño_Martínez

  • Hero Member
  • *****
  • Posts: 1216
    • Burdjia
Re: lazarus access mysql 8.0
« Reply #1 on: December 13, 2020, 01:03:47 pm »
In the while maybe you can use ODBC connections.  Of course you must have ODBC installed and configured to access to MySQL.
Are you interested in game programming? Join the Pascal Game Development community!
Also visit the Game Development Portal

JanRoza

  • Hero Member
  • *****
  • Posts: 731
    • http://www.silentwings.nl
Re: lazarus access mysql 8.0
« Reply #2 on: December 13, 2020, 04:26:18 pm »
I know it is not Lazarus but in CodeTyphon 7.3 the sqldb component does support MySql 8.0.
OS: Windows 11 / Linux Mint 22.2
       Lazarus 4.4 RC FPC 3.2.2
       CodeTyphon 8.80 FPC 3.3.1

PascalDragon

  • Hero Member
  • *****
  • Posts: 6238
  • Compiler Developer
Re: lazarus access mysql 8.0
« Reply #3 on: December 13, 2020, 04:29:55 pm »
It's seemed lazarus only can access mysql 5.7 and below. Does there have some solution to access mysql 8.0 . thanks a lot

As long as you don't require MySQL 8.0 specific functionality you should be able to use a 5.7 client library to connect to it. Alternatively you could try Zeos.

 

TinyPortal © 2005-2018