Categories
-
Recent Posts
- Configure CentOS Firewall From Command Line
- Add CentOS Package From Command Line
- Consume Web Service With Ruby
- Develop Web Service With Ruby on Rails
- Restore MySQL Database
- Install Ruby 1.8.5, Rails, FastCGI on OpenBSD 4.1
- Install MySQL 5.0 on OpenBSD 4.1
- Install Lighttp 1.4 w/ FastCGI on OpenBSD 4.1
- Quick UNIX Reference
- Backup File Using Amazon S3 And Ruby 1.8.4
- Backup MySQL Database
- Install WordPress on OpenBSD 4.0
- Make An ISO File From a CD in UNIX/Linux
- Install/Configure VMWare Server on CentOS
- Update All CentOS Packages From Command Line
Install MySQL 5.0 on OpenBSD 4.1
Install Package
pkg_add -v ftp://ftp.openbsd.org/pub/OpenBSD/4.1/packages/i386/mysql-server-5.0.33.tgz
Install Default Database
/usr/local/bin/mysql_install_db
Start Service And Set Root Password
/usr/local/bin/mysqld_safe &
/usr/local/bin/mysqladmin -u root password ‘<password>’
Start Daemon on Server Startup, Add to /etc/rc.local
if [ -x /usr/local/bin/mysqld_safe ]; then
echo ‘MySQL’
/usr/local/bin/mysqld_safe &
fi