PDA

View Full Version : creare utenti in mysql


carlainz
11-01-2006, 12:23
qualcuno sa dirmi come creare gli utenti di mysql?

grazie :)

0rph3n
11-01-2006, 12:38
et voilą: MySQL 5.1 Reference Manual :: 13.5.1 Account Management Statements (http://dev.mysql.com/doc/refman/5.1/en/account-management-sql.html) :read:

'iao

kingv
11-01-2006, 12:41
connettiti come root al database mysql e poi (per creare un amministratore che puo' fare tutto):

GRANT ALL PRIVILEGES ON *.* TO 'tuoutente'@'localhost' IDENTIFIED BY 'password' WITH GRANT OPTION;
GRANT ALL PRIVILEGES ON *.* TO 'tuoutente'@'%' IDENTIFIED BY 'password' WITH GRANT OPTION;


se vuoi creare utenti con meno privilegi guardati la sintassi di GRANT


la procedura sopra č per mysql 4, per il 5 guarda il link postato sopra