mysql and python error with columns -


i running mysql on python 3.3 , when bunch of requests come in @ same time updates rows of table value instead of where clause says part of code seems erroring is:

mdbe=mysql.connector.connect(user=user,password=password,database=database).cursor(buffered=true).execute us="hi" mdbe('update blas set setter="%s",blanks="%s",lastblank="%s" us="%s"'%(setter,blanker,a,us)),mconn.commit() 

that should make row us="hi" change makes rows change.


Comments

Popular posts from this blog

apache - Remove .php and add trailing slash in url using htaccess not loading css -

javascript - jQuery show full size image on click -