Differences

This shows you the differences between two versions of the page.

Link to this comparison view

openbsd_mysql [2014/06/03 16:55] (current)
Line 1: Line 1:
 +====== OpenBSD MySQL ======
  
 +  * [[OpenBSD]]
 +
 +Installing MySQL on OpenBSD is pretty straight forward. ​ Once you've got the package manager setup, install the package:
 +
 +<​code>​
 +pkg_add mysql-server
 +</​code>​
 +
 +And then start the setup:
 +
 +<​code>​
 +mysql_install_db
 +</​code>​
 +
 +Because of how the chroot jails are setup, when creating users, grant them access from hostname ''​127.0.0.1''​ instead of localhost. ​ This can solve some headaches involved when setting up a web server stack.