摘要: 上课笔记 1 import pymysql 2 3 # 首先要建立和数据库的链接 4 client=pymysql.connect( 5 host='127.0.0.1', 6 port=3306, 7 user='root', 8 password='egon123', 9 database='d 阅读全文
posted @ 2018-07-24 21:06 Roc_Atlantis 阅读(2184) 评论(0) 推荐(0) 编辑
摘要: 1 #mysql数据库改名,官方没有直接修改数据库名称的命令 2 #只有通过修改表名方式实现 3 4 source /etc/profile #加载系统环境变量 5 source ~/.bash_profile #加载用户环境变量 6 set -o nounset #引用未初始化变量时退出 7 8 阅读全文
posted @ 2018-07-24 12:00 Roc_Atlantis 阅读(8861) 评论(0) 推荐(2) 编辑