Skip to content

Instantly share code, notes, and snippets.

@tvlooy
Created December 12, 2016 10:27
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save tvlooy/fdb5e061508b6bb0d79b9970c144c7f8 to your computer and use it in GitHub Desktop.
Save tvlooy/fdb5e061508b6bb0d79b9970c144c7f8 to your computer and use it in GitHub Desktop.
MariaDB on OpenBSD
pkg_add -i mariadb-server
mkdir /var/mysql
chown _mysql:_mysql /var/mysql
mysql_install_db
rcctl start mysqld
mysqladmin -u root password vagrant
mysql_secure_installation
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment