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
The text was updated successfully, but these errors were encountered: