Skip to content

Instantly share code, notes, and snippets.

@shinofara
Created March 28, 2013 06:29
Show Gist options
  • Save shinofara/5261121 to your computer and use it in GitHub Desktop.
Save shinofara/5261121 to your computer and use it in GitHub Desktop.
AWS環境下で、mysql5.6系をインストールしたら、unicornが起動しなくなった ref: http://qiita.com/items/b93e7dd8283359882687
sudo yum remove mysql*
### Mysql5.6系をyum install
```bash
sudo yum install http://ftp.jaist.ac.jp/pub/mysql/Downloads/MySQL-5.6/MySQL-client-5.6.10-1.el6.x86_64.rpm \ http://ftp.jaist.ac.jp/pub/mysql/Downloads/MySQL-5.6/MySQL-shared-compat-5.6.10-1.el6.x86_64.rpm \ http://ftp.jaist.ac.jp/pub/mysql/Downloads/MySQL-5.6/MySQL-server-5.6.10-1.el6.x86_64.rpm \ http://ftp.jaist.ac.jp/pub/mysql/Downloads/MySQL-5.6/MySQL-devel-5.6.10-1.el6.x86_64.rpm \ http://ftp.jaist.ac.jp/pub/mysql/Downloads/MySQL-5.6/MySQL-shared-5.6.10-1.el6.x86_64.rpm
sudo mysql_install_db```
sudo /etc/rc.d/init.d/mysql restart
gem pristine mysql2
unicorn_rails -c config/unicorn.conf -D
$ ps auxww | grep unicorn
ec2-user 20848 0.0 8.4 168952 51164 ? Sl 11:42 0:01 unicorn_rails master -c config/unicorn.conf -D
ec2-user 20851 0.0 13.4 827776 81840 ? Sl 11:42 0:01 unicorn_rails worker[0] -c config/unicorn.conf -D
ec2-user 20854 0.0 10.1 257516 61496 ? Sl 11:42 0:00 unicorn_rails worker[1] -c config/unicorn.conf -D
ec2-user 21387 0.0 0.0 6596 592 pts/0 S+ 15:25 0:00 grep unicorn
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment