summaryrefslogtreecommitdiff
path: root/db/mysql/setup
blob: 90044b05ebfbd97eb1ddfdd257b83e5e29edfd1e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
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).


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