I wanted ask maybe there is some tutorials with networking with login or somthink similar
I’m sure there are some.Exclude Blender from your search as this has nothing to do with it.
Unless you have a really compelling reason to use MySQL, I’d suggest staying away from it. There is a library called MySQLdb that I’ve used in the past with Python26 but there isn’t a readily available Python3 version. It’s also very tempermental on Mac.
I’m now using SQLite3 which comes packaged with Python. It’s much more flexible and portable. You lose a bit of concurrency but you’ll only notice that if you are trying to write large amounts of data.
Use PHP and MySQL on the server-side for processing, and JSON on the client side to send and receive data.