prova a fare
Codice PHP:
$user = $_POST['username'];
$pass = $_POST['password'];
$query = "CREATE USER '$user'@ 'localhost' IDENTIFIED BY '$pass';
GRANT SELECT ,
INSERT ,
UPDATE ,
DELETE ,
FILE ON * . * TO '$user'@ 'localhost' IDENTIFIED BY '$pass' WITH MAX_QUERIES_PER_HOUR 0 MAX_CONNECTIONS_PER_HOUR 0 MAX_UPDATES_PER_HOUR 0 MAX_USER_CONNECTIONS 0" ;
anche se
Codice PHP:
GRANT SELECT ,
INSERT ,
UPDATE ,
DELETE ,
FILE ON * . * TO '$user'@ 'localhost' IDENTIFIED BY '$pass' WITH MAX_QUERIES_PER_HOUR 0 MAX_CONNECTIONS_PER_HOUR 0 MAX_UPDATES_PER_HOUR 0 MAX_USER_CONNECTIONS 0" ;
Non capisco cosa voglia dire... :master: