blackbeam / mysql_async

Asyncronous Rust Mysql driver based on Tokio.
Apache License 2.0
372 stars 113 forks source link

Use DROP USER in test #295

Closed grooverdan closed 4 months ago

grooverdan commented 4 months ago

DROP USER existed in 5.6 http://www.asktheway.org/official-documents/mysql/refman-5.6-en.html-chapter/sql-statements.html#drop-user

5.7 and MariaDB versions support an IF EXISTS option.

When using DROP USER, like all user modifications, FLUSH PRIVILEGES isn't required.