You need to specify which database you operate, the name of the database, and the character set. ![]() # Links, specifying ip Address and port, when testing on this machine ip Address can be written localhost Or your own ip Address or 127.0.0.1,Then you need to specify the user name and password when you operate the database. In essence, it is a socket client, but this socket client is used in python program # install, Execute the following code in the command line window ![]() How to operate mysql in python program? It is the same as the client with mysql and navicat.
0 Comments
Leave a Reply. |