Skip to content

Commit

Permalink
Add all privileges used in mariadb 10.5
Browse files Browse the repository at this point in the history
  • Loading branch information
benmwebb committed Aug 2, 2022
1 parent 6308190 commit 109dc12
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion python/saliweb/build/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -568,7 +568,8 @@ def _check_mysql(env):
cur.execute('SHOW GRANTS FOR CURRENT_USER')
_check_mysql_grants(env, cur, c.database['db'], backend['user'],
'SELECT, INSERT, UPDATE, DELETE, CREATE, DROP, '
'INDEX')
'REFERENCES, INDEX, ALTER, EXECUTE, '
'CREATE ROUTINE, ALTER ROUTINE')

db = MySQLdb.connect(db=c.database['db'], user=frontend['user'],
unix_socket=c.database['socket'],
Expand Down

0 comments on commit 109dc12

Please sign in to comment.