From 7840065569de84a135711318d66e5bcf8827097e Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Sun, 5 Jul 2015 07:54:26 +0200 Subject: owncloud: import 8.0.4 from rawhide --- owncloud-mysql.txt | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 owncloud-mysql.txt (limited to 'owncloud-mysql.txt') diff --git a/owncloud-mysql.txt b/owncloud-mysql.txt new file mode 100644 index 0000000..23b0ac6 --- /dev/null +++ b/owncloud-mysql.txt @@ -0,0 +1,28 @@ +Configure MariaDB / MySQL for ownCloud +====================================== + +To use MariaDB / MySQL as database backend, you need to do the following: + +1. Make sure that your mysql service is configured and running properly. If this + is a fresh install, you will need to run "systemctl enable mysqld.service; + systemctl start mysqld.service" (or mariadb.service) as root. It's also + strongly advised to run "mysql_secure_installation" after starting the + database for the first time. + +2. Log in to the database as privileged user to create the database and a + dedicated user account for ownCloud: + $ mysql -u root -p + CREATE USER 'username'@'localhost' IDENTIFIED BY 'password'; + CREATE DATABASE IF NOT EXISTS owncloud; + GRANT ALL PRIVILEGES ON owncloud.* TO 'username'@'localhost' IDENTIFIED BY 'password'; + Choose identifier and password accordingly. + +Now you can launch the ownCloud setup screen, select MySQL in the advanced +settings and fill in your credentials. + +References +========== + +https://fedoraproject.org/wiki/MariaDB +https://mariadb.com/kb/en/mariadb/documentation/ +http://doc.owncloud.org/server/7.0/admin_manual/configuration/configuration_database.html -- cgit