summaryrefslogtreecommitdiff
path: root/databases/mysql4-server
diff options
context:
space:
mode:
authorjklos <jklos@pkgsrc.org>2004-11-18 08:19:01 +0000
committerjklos <jklos@pkgsrc.org>2004-11-18 08:19:01 +0000
commitd56af5edafbbff757d4ed22c8726b9bc875442d5 (patch)
tree3fd7ceb52db354a40e4d89f59dc9eb88a58d4311 /databases/mysql4-server
parentfa872c5844625826aca76aa61736971494756f45 (diff)
downloadpkgsrc-d56af5edafbbff757d4ed22c8726b9bc875442d5.tar.gz
Added a note about running mysql_install_db to set up the initial
database tables, as this isn't automatic.
Diffstat (limited to 'databases/mysql4-server')
-rw-r--r--databases/mysql4-server/MESSAGE12
1 files changed, 9 insertions, 3 deletions
diff --git a/databases/mysql4-server/MESSAGE b/databases/mysql4-server/MESSAGE
index f66e2aedcdf..281bf28cd22 100644
--- a/databases/mysql4-server/MESSAGE
+++ b/databases/mysql4-server/MESSAGE
@@ -1,13 +1,19 @@
===========================================================================
-$NetBSD: MESSAGE,v 1.3 2004/07/20 15:20:55 jlam Exp $
+$NetBSD: MESSAGE,v 1.4 2004/11/18 08:19:01 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'