Sto cercando di eseguire questo query -Non riesco a trovare alcuna riga corrispondente nella tabella user
DROP DATABASE IF EXISTS `hotel`;
GRANT USAGE ON *.* TO 'user'@'localhost';
DROP USER 'user'@'localhost';
CREATE USER [email protected] IDENTIFIED BY 'user';
CREATE DATABASE `hotel`
CHARACTER SET 'utf8'
COLLATE 'utf8_general_ci';
GRANT USAGE ON *.* to 'user'@'localhost' identified by 'user';
Ma ho sempre ottenere errore
GRANT USAGE ON *.* TO 'user'@'localhost' Error Code: 1133. Can't find any matching row in the user table 0.000 sec
ho pensato che Grant usage
creare un nuovo utente, se l'utente non esiste. Che c'è?
citazioni singolo 'Crea utente 'user' @ 'localhost' IDENTIFIED BY 'utente'; '-? – criticalfix
Hm. Sì. È una singola citazione. – lapots