Pillole Mysql, creare un database ed aggiungere un utente

Creazione del database :

mysql> CREATE DATABASE databasename;

Aggiunta utente :

mysql> CREATE USER 'username'@localhost identified by 'userpasswd';

Assegnazione dei privilegi sul database :

mysql> GRANT ALL ON databasename.* to 'username'@localhost;
Condividi questo post!

Post simili:

Leave a Reply

Your email address will not be published. Required fields are marked *

*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>