summaryrefslogtreecommitdiff
path: root/databases/mysql-server
diff options
context:
space:
mode:
authorjklos <jklos@pkgsrc.org>2004-11-18 08:22:27 +0000
committerjklos <jklos@pkgsrc.org>2004-11-18 08:22:27 +0000
commitea44ce80efd152deda735551454227704c32a728 (patch)
treed38411d60640d8bdbbdcc3e5c2e3e6a288e13749 /databases/mysql-server
parentf5f21b699db311db68a9389417112f2e8e2eaced (diff)
downloadpkgsrc-ea44ce80efd152deda735551454227704c32a728.tar.gz
Added a note about running mysql_install_db to set up the initial database
tables, since this isn't automatic.
Diffstat (limited to 'databases/mysql-server')
-rw-r--r--databases/mysql-server/MESSAGE12
1 files changed, 9 insertions, 3 deletions
diff --git a/databases/mysql-server/MESSAGE b/databases/mysql-server/MESSAGE
index 465b38f0220..ce555a8131b 100644
--- a/databases/mysql-server/MESSAGE
+++ b/databases/mysql-server/MESSAGE
@@ -1,13 +1,19 @@
===========================================================================
-$NetBSD: MESSAGE,v 1.9 2004/10/28 01:08:15 xtraeme Exp $
+$NetBSD: MESSAGE,v 1.10 2004/11/18 08:22:27 jklos Exp $
The MySQL directory `${MYSQL_DATADIR}' should be owned by the user
`${MYSQL_USER}' and group `${MYSQL_GROUP}'. This can be done with:
chown -R ${MYSQL_USER}:${MYSQL_GROUP} ${MYSQL_DATADIR}
-If this is a new installation, please remember to set a password for
-the MySQL root user! This is done by running both:
+If this is a new installation, you will likely want to set up the
+initial database tables by using the following command:
+
+ ${PREFIX}/bin/mysql_install_db --user=${MYSQL_USER}
+
+After the tables are set up and the MySQL server is running,
+please remember to set a password for the MySQL root user!
+This is done by running both:
${PREFIX}/bin/mysqladmin -u root -p password 'new-password'
${PREFIX}/bin/mysqladmin -h `hostname` -u root -p password 'new-password'