User Tools

Site Tools


building_mariadb_on_freebsd

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision Both sides next revision
building_mariadb_on_freebsd [2017/07/02 02:05]
k2patel
building_mariadb_on_freebsd [2017/07/02 02:07]
k2patel
Line 10: Line 10:
  
  
-Modular configure (usually you need to load plugins with my.cnf) i am using this one.+**Modular configure** (usually you need to load plugins with my.cnf) i am using this one.
  
 <code bash> <code bash>
Line 17: Line 17:
 OR OR
  
-Build With Plugin+**Build With Plugin**
 <code bash> <code bash>
 ./configure --with-extra-charsets=all ​ --with-plugin-maria --with-plugin-xtradb --localstatedir=/​var/​db/​mysql ./configure --with-extra-charsets=all ​ --with-plugin-maria --with-plugin-xtradb --localstatedir=/​var/​db/​mysql
Line 24: Line 24:
 OR OR
  
-Static Build as suggested by MariaDB wiki.+**Static Build** as suggested by MariaDB wiki.
 <code bash> <code bash>
 ./configure --prefix=/​usr/​local/​mysql --enable-assembler \ ./configure --prefix=/​usr/​local/​mysql --enable-assembler \
Line 36: Line 36:
 Now run “make -j4” and “make install” – will install it on system. Now run “make -j4” and “make install” – will install it on system.
  
-rc script+==== rc script ​==== 
  
 You can simply use script provided with port version of mysql. You can simply use script provided with port version of mysql.
 Just in case if you dont have it, use below. Just in case if you dont have it, use below.
  
-| /​usr/​local/​etc/​rc.d/​mysql+<code bash|/​usr/​local/​etc/​rc.d/​mysql>
 #!/bin/sh #!/bin/sh
 # #
Line 116: Line 117:
    
 run_rc_command "​$1"​ run_rc_command "​$1"​
 +</​code>​
 +
 Enable and Start Enable and Start
  
building_mariadb_on_freebsd.txt · Last modified: 2020/08/10 02:35 (external edit)