求大神帮看看错哪了 很短
# coding:utf8
import _mysql_connector
import sys
import mysql
conn=_mysql_connector ( host='127.0.0.1',
port='3306',
user='root',
password='12345678',
db='account'
)
cur = conn.cursor()
cur.execute('update table set money=aaa')
conn.commit()
cur.close()
conn.close()
Traceback (most recent call last):
File "E:/pycharm/PyCharm 2017.2.2/text.py", line 11, in <module>
db='account',
TypeError: 'module' object is not callable
Process finished with exit code 1