Created
October 14, 2016 03:42
-
-
Save plencovich/58fc23f76f5669d0e16cff9b507b46df to your computer and use it in GitHub Desktop.
DigitalOcean Fix MySQL for Wordpress
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
root@myserver:~# dd if=/dev/zero of=/swap.dat bs=1024 count=512k | |
root@myserver:~# mkswap /swap.dat | |
root@myserver:~# swapon /swap.dat | |
root@myserver:~# nano /etc/fstab | |
agregar: | |
/swap.dat none swap sw 0 0 | |
root@myserver:~# nano /etc/mysql/my.cnf | |
agregar en [mysqld] | |
innodb_buffer_pool_size=64M | |
root@myserver:~# service mysqld reload |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment