From 4889edda4e9b2bc61d2abc33afa9dfb1c8ef6fe0 Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Fri, 28 Oct 2011 09:02:57 +0200 Subject: Add instructions on setting up MySQL database --- db/mysql/setup | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 db/mysql/setup 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; -- cgit v1.1