I have a Linux server running mysql 4.0 and a station running Windows 98, I tried to connect to the server being used the protocol of Socket and had the following error: "Wrong or unknown Protocol."
in the TmyConnection component the Direct property = False and used client library libmysql.dll (4.1) some idea?
using TCP/IP the conection is ok.
TmyConnection and Protocol = mpSocket
-
eduardosic
- Posts: 387
- Joined: Fri 18 Nov 2005 00:26
- Location: Brazil
-
eduardosic
- Posts: 387
- Joined: Fri 18 Nov 2005 00:26
- Location: Brazil
help...
I read the manual of mysql, but I did not understand very.Antaeus wrote:This error message is received from client library that does not support connection using this kind of protocol. Please refer to MySQL Server Reference Manual for more information.
Is possible to connect a software developed in Delphi with myDac to a mysql server running in linux using socket?
yes or no?
-
eduardosic
- Posts: 387
- Joined: Fri 18 Nov 2005 00:26
- Location: Brazil
thanks...
Thanks Antaeus, this connection is possible using kylix under libmysql.soAntaeus wrote:MyDAC doesn't support this kind of protocol in Direct=True mode. When Direct=False, you have to use client library that supports MYSQL_PROTOCOL_SOCKET. As we know, client library from MySQL binary installation package for Windows doesn't support this protocol.
I go to make a test.