当我用两个客户端向服务器发送数据时发生这样的错误:Mysql connection not available 这个错误怎样解决,求指导。
是不是mysql的连接池满了。看一下mysql的日志
http://blog.csdn.net/money_bear/article/details/14646289
config = {
'user': 'root',
'password': 'password',
'host': '127.0.0.1',
'port': '3306',
'database': 'dbname',
'raise_on_warnings': True,}
cnx = mysql.connector.connect(**config)
cursor = cnx.cursor()