32384a6653
MySQL is a SQL (Structured Query Language) database server. SQL is the most popular database language in the world. MySQL is a client-server implementation that consists of a server daemon `mysqld' and many different client programs/libraries. The main goals of MySQL are speed and robustness. The base upon which MySQL is built is a set of routines that have been used in a highly demanding production environment for many years. While MySQL is still in development it already offers a rich and highly useful function set. The official way to pronounce 'MySQL' is 'My Ess Que Ell' (Not MY-SEQUEL). This package contains the MySQL server programs and libraries.
33 lines
1.1 KiB
Text
33 lines
1.1 KiB
Text
===========================================================================
|
|
$NetBSD: MESSAGE,v 1.1.1.1 2005/10/31 09:22:26 xtraeme Exp $
|
|
|
|
You can start the MySQL server doing the following steps:
|
|
|
|
$ echo "mysqld=yes" >> /etc/rc.conf # NetBSD or a system with rc.d
|
|
|
|
If you are using PKG_RCD_SCRIPTS=YES, try the following:
|
|
|
|
$ ${RCD_SCRIPTS_DIR}/mysqld start
|
|
|
|
Otherwise try:
|
|
|
|
$ ${LOCALBASE}/${RCD_SCRIPTS_EXAMPLEDIR}/mysqld start
|
|
|
|
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'
|
|
|
|
The "Enter password:" prompt is asking for the existing password.
|
|
As there is no existing password, just press the Return key.
|
|
|
|
There is a script distributed with MySQL that can help you lock down
|
|
an installation. This script has been installed to
|
|
|
|
${PREFIX}/bin/mysql_secure_installation.
|
|
|
|
Please see the manual and the MySQL web site for more instructions.
|
|
|
|
===========================================================================
|