From: Andrew DeFaria Date: Thu, 6 Aug 2020 22:05:20 +0000 (-0700) Subject: New MySQL syntax for creating user and granting privileges X-Git-Url: https://defaria.com/gitweb/?a=commitdiff_plain;h=d58045351725edca8fcb05a78c4b80865d7c3cf3;p=clearscm.git New MySQL syntax for creating user and granting privileges --- diff --git a/maps/bin/MAPSDB.sql b/maps/bin/MAPSDB.sql index 1d25810..78cd5ad 100644 --- a/maps/bin/MAPSDB.sql +++ b/maps/bin/MAPSDB.sql @@ -88,5 +88,6 @@ create table log ( ); -- log -- Create users -grant all privileges - on MAPS.* to maps@"localhost" identified by "spam"; +-- New 8.0 syntax... +create user 'maps'@'localhost' identified by 'spam'; +grant all privileges on MAPS.* to 'maps'@'localhost';