mysql 杂项
来源:互联网 发布:ubuntu 16.04 挂载u盘 编辑:程序博客网 时间:2024/05/29 19:02
pip install MySQL-python
log in local machine
mysql -u root -p
conn=MySQLdb.connect(host=’localhost’,user=’root’,passwd=’123456’)
cur=conn.cursor()
cur.execute(‘create database if not exists python’)
- 中文乱码问题
show variables like “%char%”;
SET NAMES utf8
0 0
- mysql 杂项
- mysql杂项
- mysql 杂项
- MySQL杂项
- MySql杂项
- 杂项
- 杂项
- 杂项
- 杂项
- 杂项
- 杂项
- 杂项
- 杂项
- 杂项
- 杂项
- 杂项
- 杂项
- 杂项
- 文件映射内存
- CodeForces 707C-Pythagorean Triples
- JSP内置对象(1)
- 揭开网络编程常见API的面纱【下】
- 实验楼Linux学习笔记(五)之文件打包与压缩
- mysql 杂项
- eclipse配置及常用快捷键总结
- Java读取CSV和XML文件方法
- 迭代最近点算法 Iterative Closest Points
- java数据容器
- NYOJ开心的小明
- 如何看待操作系统的用户空间和内核空间?
- 单机登陆实现
- SLB+THINKPHP+session_destroy=502