我的问题发生如下:
我使用mysqldb的API,如下代码:
conn = MySQLdb.connect(host='192.168.1.16', user='henry', passwd='password', db='test', charset='utf8')
cur = conn.cursor()
没关系,connect mysql成功,并且与此配合良好:
select count(*) from songs; everthing is allright.
但是,如果我像这样使用sql:
select * from songs;
错误是:
connect mysqldb error. the songs table has 5000000 rows.
慕村225694
慕沐林林
相关分类