From d9fa9a6a324a34846d12e89efac66d1b8a36eb0e Mon Sep 17 00:00:00 2001
From: Olivier Lamy <olamy@apache.org>
Date: Tue, 27 Mar 2012 12:58:08 +0000
Subject: [PATCH] quick note on mysql setup

git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1305828 13f79535-47bb-0310-9956-ffa450edef68
---
 archiva-docs/src/site/apt/adminguide/databases.apt | 10 ++++++++++
 1 file changed, 10 insertions(+)

diff --git a/archiva-docs/src/site/apt/adminguide/databases.apt b/archiva-docs/src/site/apt/adminguide/databases.apt
index 4f7b43d30..2a80bad6c 100644
--- a/archiva-docs/src/site/apt/adminguide/databases.apt
+++ b/archiva-docs/src/site/apt/adminguide/databases.apt
@@ -90,3 +90,13 @@ Apache Archiva Database
   database documentation for backup instructions.
   
 ~~TODO: link to wiki location that does others
+
+* MySql setup
+
++------+
+  create database archiva character set utf8;
+
+  GRANT ALL PRIVILEGES ON archiva.* TO 'archivauser'@'localhost' IDENTIFIED BY 'archivauserpassword'
++------+
+
+  Replace "archivauser" and "archivauserpassword" with a username and password of your choice. If Archiva is not running on the same server as your MySQL database server, replace "localhost" with the hostname or IP address of the Archiva server.
\ No newline at end of file