Index: content/databases/mysql.xml
===================================================================
--- content/databases/mysql.xml (revision c69b94a3dcfa5b6b427d733e0d1adaa169bdf2da)
+++ content/databases/mysql.xml (revision ac1094395e8f3a711526772e70065f9b2ef96065)
@@ -72,6 +72,6 @@
--enable-thread-safe-client --enable-assembler \
--enable-local-infile --with-named-thread-libs=-lpthread \
- --with-unix-socket-path=/var/run/mysql --without-debug \
- --without-bench --without-readline &&
+ --with-unix-socket-path=/var/run/mysql/mysql.sock
+ --without-debug --without-bench --without-readline &&
make testdir=/usr/lib/mysql/mysql-test &&
make testdir=/usr/lib/mysql/mysql-test install &&
@@ -158,34 +158,15 @@
unprivileged user and group.
-mysql_install_db &&
-chown -R mysql:mysql /srv/mysql
+mysql_install_db --user=mysql
Further configuration requires that the
MySQL server be running:
-mysqld_safe --user=mysql 2>&1 >/dev/null &
+install -o mysql -d /var/run/mysql &&
+mysqld_safe --user=mysql 2>&1 >/dev/null &
A default installation does not setup a password for the administrator,
so use the following command to set one. Replace
[new-password] with your own.
-
-
mysqladmin -u root password [new-password]