Click here to Skip to main content
15,036,363 members
Please Sign up or sign in to vote.
1.00/5 (2 votes)
See more:
Using c# I want to connect to mysql server using tcp. I need to do it without using any driver but only raw tcp client from .net tcp client library. How can i do this, can't find enough guidelines.

What I have tried:

None tried yet anything. Couldn't understand where to start.
Updated 13-Dec-20 5:22am
Gerry Schmitz 13-Dec-20 11:18am
"Without any driver". Who told you it was possible?
Richard MacCutchan 13-Dec-20 11:19am
You need to study the MySQL network protocol to see how to format your commands and interpret the responses.
PIEBALDconsult 13-Dec-20 13:23pm
Yeah, no, there will always be a driver involved.

1 solution

And here it is: MySQL: Client/Server Protocol[^].

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900