MySQL on OpenBSD
# pkg_add mysql-server-3.23.57p3.tgz
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- -
-
-
-
-
-
-
-
-
-
-
-
-
-
You appear to already have a MySQL database directory in /var/mysql |
The database directory has been preserved. If you want to start |
from the default database setup, you should perform these steps |
as root: |
rm -rf /var/mysql |
/usr/local/bin/mysql_install_db |
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- -
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- -
-
-
-
-
-
-
-
-
-
-
-
-
-
WARNING! |
This port has changed the user/group it uses. If you installed this port |
before, ensure all permissions are set correctly. |
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- -
-
-
-
-
-
-
-
-
-
-
-
-
-
# /usr/local/mysql/bin/safe_mysqld --user=_mysql & # /usr/local/mysql/bin/mysqladmin -u root shutdown