sql 相关

windows 下安装sql:

https://blog.csdn.net/pengzonglu7292/article/details/82048269

 

ini

[mysql]
default-character-set=utf8
[mysqld]
port=10006
basedir=**\mysql-5.7.28-winx64
datadir=**\mysql-5.7.28-winx64\data
max_connections=200
character-set-server=utf8
default-storage-engine=INNODB

==============================

windows操作sql

https://blog.csdn.net/pengzonglu7292/article/details/82141851

powershell/cmd :

PS C:\Windows\system32> Start-Service 服务器名称
PS C:\Windows\system32> mysql -u root -P 10006 -p
Enter password: *****
Welcome to the MySQL monitor.  Commands end with ; or \g.
Your MySQL connection id is 2
Server version: 5.7.28 MySQL Community Server (GPL)

Copyright (c) 2000, 2019, Oracle and/or its affiliates. All rights reserved.

Oracle is a registered trademark of Oracle Corporation and/or its
affiliates. Other names may be trademarks of their respective
owners.

Type help; or \h for help. Type \c to clear the current input statement.

mysql> show databases
    -> ;
+--------------------+
| Database           |
+--------------------+
| information_schema |
| autest             |
| mysql              |
| performance_schema |
| sys                |
+--------------------+
5 rows in set (0.00 sec)

==========================

 

sql 相关

上一篇:Python3之数据库编程


下一篇:python tkinter的简要应用