我的問題發(fā)生如下:我使用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.
添加回答
舉報
0/150
提交
取消