My problem occurred as follows:
I use the APIs of mysqldb , the codes like this:
conn = MySQLdb.connect(host='192.168.1.16', user='henry', passwd='password', db='test', charset='utf8')
cur = conn.cursor()
It is ok, the connect mysql is a success, and it works as well with this:
select count(*) from songs; everthing is allright.
But if I use sql like this:
select * from songs;
The error is:
connect mysqldb error. the songs table has 5000000 rows.