I have installed Python version 3.4.0 and I would like to do a project with MySQL database. I downloaded and tried installing MySQLdb, but it wasn't successful for this version of Python. Any suggestions how could I fix this problem and install it properly?
mysql-databaseython 3.4.0 with MySQL database
2023-09-27 14:26:39 时间
Phttp://shttp://stackoverflow.com/questions/23376103/python-3-4-0-with-mysql-databasetackoverflow.com/questions/23376103/python-3-4-0-with-mysql-databaseython 3.4.0 with MySQL database
MySQLdb does not support Python 3 but it is not the only MySQL driver for Python. mysqlclient is essentially just a fork of MySQLdb with Python 3 support merged in (and a few other improvements). PyMySQL is a pure python MySQL driver, which means it is slower, but it does not require a compiled C component or MySQL libraries and header files to be installed on client machines. It has Python 3 support. |
相关文章
- mysql pxc集群 原理 (图解+秒懂+史上最全)
- mysql中/*!40000 DROP DATABASE IF EXISTS `top_server`*/;这中注释有什么作用?
- MySQL修改表名注释
- 在 MySQL 中处理日期和时间 - 第三章节
- [转]【MySQL】关于时间的查询,比如本月,本年,本季度
- webpy使用mysql数据库操作(web.database)
- Mysql读写分离(Mycat版)
- Mysql5.7新增用户并授权,Mysql生产环境用户权限管理
- ###MySQL 数据库DataBase
- 正确使用MySQL JDBC setFetchSize()方法解决JDBC处理大结果集 java.lang.OutOfMemoryError: Java heap space
- (5.12)mysql高可用系列——复制中的在线切换GTID模式/增加节点/删除节点
- mysql树查询、递归查询
- sql server自定义排序(还有mysql)
- mysql中数据库database、实例instance、会话session的关系
- MySQL数据库断电修复(Database page corruption on disk or a failed)
- ERROR 1044 (42000): Access denied for user ''@'localhost' to database 'mysql'
- SPRINGBOOT配置MYSQL,MYBATIS,DRUID
- MySQL 分组查询
- mysql主从同步