摘要: 一、存储引擎: create table t1( id int auto_increement primary, name varchar(32) not null default'' )engine=Innodb charset=utf8; 引擎分类: Innodb: 1)5.5版本以上:默认版本 阅读全文
posted @ 2019-06-17 20:11 水天两色 阅读(272) 评论(0) 推荐(0)
摘要: 一、PyMySQL: PyMySQL: Python语言去操作MySQL的包 import pymysql 注意: a.文件名不能写自己本身 b.connect > conn > cursor c.执行sql语句 > execute(sql) d.取数据: fetchone() fetchall() 阅读全文
posted @ 2019-06-17 08:28 水天两色 阅读(221) 评论(0) 推荐(0)