summaryrefslogtreecommitdiff
path: root/db/mysql
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2011-10-28 09:02:57 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2011-10-28 09:02:57 +0200
commit4889edda4e9b2bc61d2abc33afa9dfb1c8ef6fe0 (patch)
tree04f092ebfc6314b0bc6cece97d20890cea631ff8 /db/mysql
parent32d44d3d43b21ff3fc1e718cab5b675e2b19bd47 (diff)
Add instructions on setting up MySQL database
Diffstat (limited to 'db/mysql')
-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;