I have a mysql running. I can access it with
mysql -h 127.0.0.1 -u root -P 8009 -p
Now I want to make requests with curl :
curl 127.0.0.1:8009 ????
I need to pass the password and some simple commands (INSERT in one database)
Is it possible/ how to do that ?
EDIT : Since it seems impossible, I broaden the scope of the question.
I'm open to wget or whatever to makes simple commands in a mysql base without installing specific utilities (mysql itself, python packages, etc.). So using commonly available commands in bash.
I have no real control on the environment from which I will make the requests.