User Tools

Site Tools


mariadb_128mb

This is an old revision of the document!


MariaDB 128MB Setup

mkdir /etc/mysql && mkdir /etc/mysql/conf.d
vim /etc/mysql/conf.d/lowendbox.cnf

Config

[mysqld]
key_buffer = 16K
max_allowed_packet = 1M
table_cache = 4
sort_buffer_size = 64K
read_buffer_size = 256K
key_buffer_size         = 32M
myisam_sort_buffer_size = 32M
read_rnd_buffer_size = 256K
net_buffer_length = 2K
thread_stack = 64K

Install MariaDB

apt-get install mariadb-server

Original config: https://lowendbox.com/blog/yes-you-can-run-18-static-sites-on-a-64mb-link-1-vps/

mariadb_128mb.1594745202.txt.gz · Last modified: 2021/11/25 22:43 (external edit)

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki