[root@server html]# mysqlmysql> grant all on my_database.* to my_user@localhost identified by “password”mysql> FLUSH PRIVILEGES;mysql> \q