25 lines
1,018 B
Text
25 lines
1,018 B
Text
===========================================================================
|
|
$NetBSD: MESSAGE,v 1.2 2004/05/14 11:42:13 grant 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:
|
|
|
|
${PREFIX}/bin/mysqladmin -u root -p password 'new-password'
|
|
${PREFIX}/bin/mysqladmin -h `hostname` -u root -p password 'new-password'
|
|
|
|
(The "Enter password:" prompt is asking for the existing password.
|
|
As there is no existing password, just press Return.)
|
|
|
|
There is now a script distributed with mysql that can help you lock
|
|
down an installation. This script has been installed to
|
|
|
|
${PREFIX}/bin/mysql_secure_installation.
|
|
|
|
See the manual and the mysql web site for more instructions.
|
|
|
|
===========================================================================
|