Create and Grant Access to User in MySQL database

1. Create user in MySQL databse

CREATE USER 'user'@'localhost' IDENTIFIED BY 'password';

2. Set user rights

GRANT ALL PRIVILEGES ON *.* TO 'user'@'localhost'
    WITH GRANT OPTION;
Tagged with: , , ,
Posted in MySQL

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>

Sites
Categories
Archives