Page 1 of 1
TmyConnection and Protocol = mpSocket
Posted: Thu 04 May 2006 20:50
by eduardosic
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.
Posted: Fri 05 May 2006 13:05
by Antaeus
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.
help...
Posted: Sat 06 May 2006 03:29
by eduardosic
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.
I read the manual of mysql, but I did not understand very.
Is possible to connect a software developed in Delphi with myDac to a mysql server running in linux using socket?
yes or no?
Posted: Sat 06 May 2006 10:07
by Antaeus
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.
thanks...
Posted: Sat 06 May 2006 13:09
by eduardosic
Antaeus 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.
Thanks Antaeus, this connection is possible using kylix under libmysql.so
I go to make a test.