1,433
edits
Changes
Importing a new version from external source
E.g., if you want to make Percona Server use KSM, modify its startup script like the following:
[root@container /]# nano /etc/init.d/mysql
''...''
''PATH="/sbin:/usr/sbin:/bin:/usr/bin:$basedir/bin"''
''export PATH''
'''LD_PRELOAD=/usr/lib64/libksm_preload.so'''
''mode=$1 # start or stop''
''...''
[root@container /]# nano /etc/init.d/mysql
''...''
''PATH="/sbin:/usr/sbin:/bin:/usr/bin:$basedir/bin"''
''export PATH''
'''LD_PRELOAD=/usr/lib64/libksm_preload.so'''
''mode=$1 # start or stop''
''...''