mirror of
https://github.com/processone/ejabberd.git
synced 2024-11-22 16:20:52 +01:00
Merge pull request #194 from weiss/mysql-user-at-localhost
test/README: Create MySQL test user on localhost
This commit is contained in:
commit
478b4f19bd
@ -12,6 +12,6 @@ template1=# CREATE DATABASE ejabberd_test;
|
|||||||
template1=# GRANT ALL PRIVILEGES ON DATABASE ejabberd_test TO ejabberd_test;
|
template1=# GRANT ALL PRIVILEGES ON DATABASE ejabberd_test TO ejabberd_test;
|
||||||
|
|
||||||
$ mysql
|
$ mysql
|
||||||
mysql> CREATE USER ejabberd_test IDENTIFIED BY 'ejabberd_test';
|
mysql> CREATE USER 'ejabberd_test'@'localhost' IDENTIFIED BY 'ejabberd_test';
|
||||||
mysql> CREATE DATABASE ejabberd_test;
|
mysql> CREATE DATABASE ejabberd_test;
|
||||||
mysql> GRANT ALL ON ejabberd_test.* TO ejabberd_test;
|
mysql> GRANT ALL ON ejabberd_test.* TO 'ejabberd_test'@'localhost';
|
||||||
|
Loading…
Reference in New Issue
Block a user