summaryrefslogtreecommitdiff
path: root/db
diff options
context:
space:
mode:
Diffstat (limited to 'db')
-rw-r--r--db/mysql/setup11
1 files changed, 11 insertions, 0 deletions
diff --git a/db/mysql/setup b/db/mysql/setup
new file mode 100644
index 0000000..d1706af
--- /dev/null
+++ b/db/mysql/setup
@@ -0,0 +1,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;