Du bruger ikke IDENTIFIED BY i GRANT forespørgsler, det bruges i CREATE USER .
CREATE USER 'root'@'%' IDENTIFIED BY 'password';
GRANT ALL PRIVILEGES ON *.* TO 'root'@'%';
GRANT kommandoreference
OPRET BRUGER kommandoreference
Du bruger ikke IDENTIFIED BY i GRANT forespørgsler, det bruges i CREATE USER .
CREATE USER 'root'@'%' IDENTIFIED BY 'password';
GRANT ALL PRIVILEGES ON *.* TO 'root'@'%';
GRANT kommandoreference
OPRET BRUGER kommandoreference