• 20 Oct 2008 /  GNU/Linux, Unix

    Hace tiempo que no me veía en la necesidad de hacer uso de MySQL y he olvidado como crear usuarios con full privileges para una db.

    Aquí les dejo la linea que se ocupa para de crear un usuario test con password tester, con full access a la db test y con capacidad para acceder desde cualquier lugar(mientras el servidor y firewall lo permita cuando se cuenta con alguno).

    mysql> GRANT ALL PRIVILEGES ON test.* TO 'test'@'%' IDENTIFIED BY 'tester';

    Recuerden que hay que entrar por consola usando el cliente mysql y como administrador.

    Posted by lexo @ 7:31 pm

Leave a Comment

Please note: Comment moderation is enabled and may delay your comment. There is no need to resubmit your comment.

*
To prove you're a person (not a spam script), type the security word shown in the picture. Click on the picture to hear an audio file of the word.
Click to hear an audio file of the anti-spam word