:: MySQL : enable InnoDB from source

36 sec read

:: How to enable InnoDB on MySQL from source

cd mysql
./configure --prefix=/usr/local/mysql --with-plugins=innobase,innodb_plugin
make && make install

:: Configure MySQL InnoDB on my.cnf

vi /etc/my.cnf

add / configure like these:

default-storage-engine = InnoDB

# Uncomment the following if you are using InnoDB tables
innodb_data_home_dir = /usr/local/mysql/var
innodb_data_file_path = ibdata1:10M:autoextend
innodb_log_group_home_dir = /usr/local/mysql/var

# You can set .._buffer_pool_size up to 50 - 80 %
# of RAM but beware of setting memory usage too high
innodb_buffer_pool_size = 16M
innodb_additional_mem_pool_size = 2M

# Set .._log_file_size to 25 % of buffer pool size
innodb_log_file_size = 5M
innodb_log_buffer_size = 8M
innodb_flush_log_at_trx_commit = 1
innodb_lock_wait_timeout = 50

:: Restarting MySQL

mysqladmin -uroot -p shutdown
mysqld_safe &

:: Checking MySQL InnoDB

mysql -uroot -p
mysql> show variables like "%engine%";


mysql> show engines;

:: Links
+ Google
+ DevMySQL
+ DevReview

How to fix problem with the editor ‘vi’

:: git error with vi error: There was a problem with the editor 'vi'   :: how to fix the problem 0. check path...
10 sec read

Apache :: MP4 Streaming

:: How to Enable mp4 Streaming in Apache + Installing mod h624 streaming wget //h264.code-shop.com/download/apache_mod_h264_streaming-2.2.7.tar.gz tar -xzf apache_mod_h264_streaming-2.2.7.tar.gz cd mod_h264_streaming-2.2.7/ ./configure --with-apxs=`which apxs2` make...
18 sec read

Apache :: Flash / FLV Streaming

:: How to Configure Apache for FLV Streaming + Installing mod_flvx wget //people.apache.org/~pquerna/modules/mod_flvx.c which apxs /usr/bin/apxs /usr/bin/apxs -cia mod_flvx.c + setup mod_flvx in http.conf...
15 sec read

Leave a Reply

Your email address will not be published. Required fields are marked *