Cannot create TCP/IP socket: The parameter is incorrect. Socket Error Code: 87

Discussion of open issues, suggestions and bugs regarding MyDAC (Data Access Components for MySQL) for Delphi, C++Builder, Lazarus (and FPC)
Post Reply
DavidStang
Posts: 1
Joined: Tue 11 Jun 2013 14:41

Cannot create TCP/IP socket: The parameter is incorrect. Socket Error Code: 87

Post by DavidStang » Tue 11 Jun 2013 15:43

I've just installed MyDAC 8.0 for RAD Studio XE4. When I try to open a query, I get the error message of the subject line.Image

My D2009 code connects to the database fine, as does my 32-bit XE4 code. It seems to only be in X64 code that this error occurs.

Any ideas? I'm desparate.

DemetrionQ
Devart Team
Posts: 271
Joined: Wed 23 Jan 2013 11:21

Re: Cannot create TCP/IP socket: The parameter is incorrect. Socket Error Code: 87

Post by DemetrionQ » Thu 13 Jun 2013 14:17

Hello.

You might run the application in such a way that it hasn't enough rights for socket initialization. To solve the problem, try running the application as administrator. Also, before running the application, make sure you are running it at a local drive, not at a network drive.

Post Reply