I'm trying to connect to a MySQL server using IPv6. I can connect to the server using the IPv4 address with dbExpress driver and I can connect to the server using the IPv6 address using the MySQL Workbench (so I know the IPv6 address works over the network). But I cannot get the dbExpress driver to work with the IPv6 address. I have the following parameters:
DriverUnit=DbxDevartMySql
DriverPackageLoader=TDBXDynalinkDriverLoader,DBXCommonDriver200.bpl
MetaDataPackageLoader=TDBXDevartMySqlMetaDataCommandFactory,DbxDevartMySqlDriver200.bpl
ProductName=DevartMySQL
GetDriverFunc=getSQLDriverMySQLDirect
LibraryName=dbexpmda40.dll
VendorLib=not used
MaxBlobSize=-1
FetchAll=True
EnableBoolean=False
UseUnicode=True
HostName=xxxx:xxxx:xxxxxxxx:xxxx:xxxx:xxxx
DataBase=databasename
User_Name=loginid
Password=loginpw
IPVersion=IPv6
Where xxxx:xxxx:xxxxxxxx:xxxx:xxxx:xxxx is the IPv6 address.
Can you tell me what I'm doing wrong?
Connecting using IPv6
Re: Connecting using IPv6
Thank you for the information. We have reproduced and fixed the issue. The fix will be included in the next dbExpress Driver for MySQL build.
Re: Connecting using IPv6
That's great.
Can you tell me where the problem lies? E.g. can I work round this by not using the BuiltIn module?
Can you tell me where the problem lies? E.g. can I work round this by not using the BuiltIn module?
Re: Connecting using IPv6
To solve the problem, you can delete the "coIPVersion = 109" constant declaration in the dbxmda.pas module.
Re: Connecting using IPv6
Thanks for that. That fixed the problem.
Re: Connecting using IPv6
Glad to see that the issue was resolved. Feel free to contact us if you have any further questions about dbExpress driver for MySQL.