/home/bai/public_html/tools/search.py in ()
191 rows = c.rowcount
192
193 return rows
194
=> 195 start()
start = <function start>
/home/bai/public_html/tools/search.py in start()
47 print '</div>'
48
=> 49 search(QUERY, ITA, t)
50
51 print "<div class=\"foot\"><p>"
global search = <function search>, QUERY = 'baiborto', ITA = '', t = 1555431535.465249
/home/bai/public_html/tools/search.py in search(q='baiborto', q_ita='', t=1555431535.465249)
72 return
73
=> 74 dbConnect()
75
76 args = (q,)
global dbConnect = <function dbConnect>
/home/bai/public_html/tools/search.py in dbConnect()
155 def dbConnect():
156 global conn
=> 157 conn = MySQLdb.connect(host=env.dbhost, user=env.dbuser, passwd=env.dbpass, db=env.dbname)
158
159 def dbDisconnect():
global conn = None, global MySQLdb = <module 'MySQLdb' from '/usr/lib/python2.7/dist-packages/MySQLdb/init.pyc'>, MySQLdb.connect = <function Connect>, host undefined, global env = <module 'env' from '/home/bai/public_html/tools/env.pyc'>, env.dbhost = 'localhost', user undefined, env.dbuser = 'bai', passwd undefined, env.dbpass = 'half8bai9', db undefined, env.dbname = 'weabot'
/usr/lib/python2.7/dist-packages/MySQLdb/init.py in Connect(*args=(), **kwargs={'db': 'weabot', 'host': 'localhost', 'passwd': 'half8bai9', 'user': 'bai'})
79 """Factory function for connections.Connection."""
80 from MySQLdb.connections import Connection
=> 81 return Connection(*args, **kwargs)
82
83 connect = Connection = Connect
Connection = <class 'MySQLdb.connections.Connection'>, args = (), kwargs = {'db': 'weabot', 'host': 'localhost', 'passwd': 'half8bai9', 'user': 'bai'}
/usr/lib/python2.7/dist-packages/MySQLdb/connections.py in init(self=<_mysql.connection closed at 7f1421613b70>, *args=(), **kwargs={'db': 'weabot', 'host': 'localhost', 'passwd': 'half8bai9', 'user': 'bai'})
202 self.waiter = kwargs2.pop('waiter', None)
203
=> 204 super(Connection, self).init(*args, **kwargs2)
205 self.cursorclass = cursorclass
206 self.encoders = dict([ (k, v) for k, v in conv.items()
builtin super = <type 'super'>, global Connection = <class 'MySQLdb.connections.Connection'>, self = <_mysql.connection closed at 7f1421613b70>, ).init = <bound method Connection.init of <_mysql.connection closed at 7f1421613b70>>, args = (), kwargs2 = {'client_flag': 196608, 'conv': {0: <class 'decimal.Decimal'>, 1: <type 'int'>, 2: <type 'int'>, 3: <type 'long'>, 4: <type 'float'>, 5: <type 'float'>, 7: <function mysql_timestamp_converter>, 8: <type 'long'>, 9: <type 'int'>, 10: <function Date_or_None>, …}, 'db': 'weabot', 'host': 'localhost', 'passwd': 'half8bai9', 'user': 'bai'}
<class '_mysql_exceptions.OperationalError'>: (1045, "Access denied for user 'bai'@'localhost' (using password: YES)")
args = (1045, "Access denied for user 'bai'@'localhost' (using password: YES)")
message = ''