Du använder inte IDENTIFIED BY i GRANT frågor, används den i CREATE USER .
CREATE USER 'root'@'%' IDENTIFIED BY 'password';
GRANT ALL PRIVILEGES ON *.* TO 'root'@'%';
GRANT kommandoreferens
SKAPA ANVÄNDARE kommandoreferens
Du använder inte IDENTIFIED BY i GRANT frågor, används den i CREATE USER .
CREATE USER 'root'@'%' IDENTIFIED BY 'password';
GRANT ALL PRIVILEGES ON *.* TO 'root'@'%';
GRANT kommandoreferens
SKAPA ANVÄNDARE kommandoreferens