MySQL, BCB6 ans SSL Connection
-
JonKerry
MySQL, BCB6 ans SSL Connection
I am having trouble connecting to a Fedora Linux Server which is SSL enabled.
As far as I know everything is correctly configured both on the client and server side, but i keep getting a libmysql.dll client library error.
How can this be solved
Many Thanks
Jon
As far as I know everything is correctly configured both on the client and server side, but i keep getting a libmysql.dll client library error.
How can this be solved
Many Thanks
Jon
Try downloading last build of MyDAC. If problem persists send us following information:
- Exact version of Delphi, C++ Builder or Kylix
- Exact version of MyDAC. You can see it in About sheet of TMyConnection Editor
- Exact version of MySQL server and MySQL client. You can see it in Info sheet of TMyConnection
- Exact version of Delphi, C++ Builder or Kylix
- Exact version of MyDAC. You can see it in About sheet of TMyConnection Editor
- Exact version of MySQL server and MySQL client. You can see it in Info sheet of TMyConnection
-
JonKerry
I am currently running 4.30.0.11 and am getting
MySQL API function is not linked. You should update MySQL client library (libmysql.dll)
I have MySQL 5.0.18 running on Fedora Linux Server
The client is on Win XP with BCB 6
The component works fine without the SSL option but not with it
I have tested the server with Navicat and that works fine
MySQL API function is not linked. You should update MySQL client library (libmysql.dll)
I have MySQL 5.0.18 running on Fedora Linux Server
The client is on Win XP with BCB 6
The component works fine without the SSL option but not with it
I have tested the server with Navicat and that works fine
-
JonKerry
-
JonKerry
-
JonKerry
-
JonKerry
-
JonKerry
We connect to the MySQL Server with SSL support using following parameters:
a)settings in my.ini:
b)Command to start MySQL server:
c)Command to add user with SSL support
d)MyConnection options definition:
Please compare these settings with your ones.
a)settings in my.ini:
Code: Select all
port = 3312
ssl-ca=D:/Program Files/MySQL/MySQL41_SSL/bin/cert/ca-cert.pem
ssl-cert=D:/Program Files/MySQL/MySQL41_SSL/bin/cert/SSL-server-cert.pem
ssl-key=D:/Program Files/MySQL/MySQL41_SSL/bin/cert/SSL-server-key.pem Code: Select all
D:\Program Files\MySQL\MySQL41_SSL\bin>start mysqld.exe --defaults-file=my.iniCode: Select all
GRANT ALL PRIVILEGES ON *.* TO 'UserName'@'UserHost' IDENTIFIED BY 'passw' REQUIRE ssl;d)MyConnection options definition:
Code: Select all
object MyConnection1: TMyConnection
Database = 'test'
Port = 3312
Options.Protocol = mpSSL
SSLOptions.CACert = 'D:\Program Files\MySQL\MySQL41_SSL\bin\cert\ca-cert.pem'
SSLOptions.Key = 'D:\Program Files\MySQL\MySQL41_SSL\bin\cert\SSL-client-key.pem'
SSLOptions.Cert = 'D:\Program Files\MySQL\MySQL41_SSL\bin\cert\SSL-client-cert.pem'
Username = 'UserName'
Password = 'passw'
Server = 'UserHost'
end-
JonKerry