summaryrefslogtreecommitdiff
path: root/db/mysql/setup
blob: 3c4fb0ac502dea960c60453f3d99930f6c738bb1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
In /etc{/mysql,}/my.cfg in the [mysqld] section add:
bind-address = 0.0.0.0

You may also need to open the 3306 port in the firewall
(system-control-firewall on Fedora).

From root login:

mysql -p

CREATE USER odb_test@'%';
CREATE USER odb_test@'localhost';
CREATE DATABASE odb_test;
GRANT ALL PRIVILEGES ON odb_test.* to odb_test@'%';
FLUSH PRIVILEGES;