Throwing "Commands out of sync; you can't run this command now" when executing multiple grant statement in MySQL 5.7 · Issue #124 · farcepest/MySQLdb1 · GitHub
More Web Proxy on the site http://driver.im/
You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
import MySQLdb as db
cnn = db.connect()
cur = cnn.cursor()
SQL = """
grant select on *.* to test@'localhost' identified by '';
grant select on *.* to test2@'localhost' identified by '';
"""
cur.execute(SQL)
The text was updated successfully, but these errors were encountered:
ghost
changed the title
Throwing "Commands out of sync; you can't run this command now" when executing multiple statement in MySQL 5.7
Throwing "Commands out of sync; you can't run this command now" when executing multiple grant statement in MySQL 5.7
Feb 23, 2017
Uh oh!
There was an error while loading. Please reload this page.
The text was updated successfully, but these errors were encountered: