mirror of https://github.com/sipwise/ngcpcfg.git
Replace unsafe 'DELETE FROM mysql.user' with recommended 'DROP USER' statement to avoid problems with DROP/CREATE USER due to missing 'FLUSH PRIVILEGES' like: Error: Cannot create grant temp user: Operation CREATE USER failed for 'ngcp-sync-db'@'localhost' at /usr/sbin/ngcp-sync-grants line 322. Execute 'FLUSH PRIVILEGES' before creating and after dropping of temp user 'ngcp-sync-db'. Change-Id: I49c29b6c39353d4a47f086851a915af1469ebcddchanges/37/22437/4
parent
a67e6357d3
commit
7d04c6e638
Loading…
Reference in new issue