while(true) mysql_query(conn, " select close, id from fivemin order by id DESC LIMIT 5 ");result = mysql_store_result(conn); float sum = 0;while((row=mysql_fetch_row(result)))
当出现提示时,我输入一个我知道在DB中的用户名/密码,但是它一直说用户名/密码无效。我是否不正确地使用游标对象?#import the datetime package to use dates#import the mysql connector to access the databaseimport mysql.connectorcnx = mysql.connector.conne