Python Notes 06 (Mysql database)

a basis

1.1 Installation

MySQL download reference: MySQL8.0 installation and configuration tutorial [super detailed illustration] - CSDN blog

Test that the environment variables are installed and configured correctly:

1.2 Check whether the server is running normally

1.3 Display database

show databases;

 

1.4 Exit

exit

1.5 python connection

1.6 Check host IP

ipconfig

Guess you like

Origin blog.csdn.net/March_A/article/details/133438916