Link to home
Create AccountLog in
Avatar of ltpitt
ltpitt

asked on

How to securely and easily send data to MySql server using Python

Hello there...

I have built a script that reads the data from a csv file ad inserts each row into a mysql database on the internet using MysqlDb (nothing fancy: I just specify ip, port, password, id, no cypher no nothing).

Which kind of method should I use to implement a decent security?

I'd love ideas and - if possible - a few links where study examples.

Thanks!
ASKER CERTIFIED SOLUTION
Avatar of Dave Baldwin
Dave Baldwin
Flag of United States of America image

Link to home
membership
Create an account to see this answer
Signing up is free. No credit card required.
Create Account
Avatar of ltpitt
ltpitt

ASKER

But this would still mean to leave my db password on the client side, right?
Yes, SSL and SSH are for encrypting the data going over the connections.  The data stays the same on the client and the server.