2

Hello I would like to ask:

How can I make a socket connection to a MySQL database (With out additional libraries) using only low level sockets so I can then send commands.

Thank you for any help

Edit is it also possible to connect over HTTP? (I wouldn't think that would make sense, but figured I would ask)

1 Answer 1

2

Of course it's possible, you'll 'only' have to implement the MySQL Client/Server Protocol.

If you want to have a look at how this can be done (or if it's too much work to do it yourself), have a look at pymysql or myconnpy.

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.