summaryrefslogtreecommitdiff
path: root/db/mysql/setup
blob: d1706af08f93a826fb808411ed8a52b57a7dac35 (plain)
1
2
3
4
5
6
7
8
9
10
11
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 DATABASE odb_test;
GRANT ALL PRIVILEGES ON odb_test.* to odb_test@'%';
FLUSH PRIVILEGES;