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
building_mariadb_on_freebsd [2017/07/01 22:07]
k2patel
building_mariadb_on_freebsd [2017/07/01 22:10] (current)
k2patel
Line 42: Line 42:
 Just in case if you dont have it, use below. Just in case if you dont have it, use below.
  
-<code bash|/​usr/​local/​etc/​rc.d/​mysql>​+<code bash /​usr/​local/​etc/​rc.d/​mysql>​
 #!/bin/sh #!/bin/sh
 # #
Line 119: Line 119:
 </​code>​ </​code>​
  
-Enable and Start+**Enable and Start**
  
 Final steps…. (remember i am using Modular configure) Final steps…. (remember i am using Modular configure)
-/etc/my.cnf+<code bash /etc/my.cnf>
 [mysqld] [mysqld]
 ## ##
Line 186: Line 186:
 #​master-connect-retry=60 #​master-connect-retry=60
 #​replicate-ignore-db=mysql,​test #​replicate-ignore-db=mysql,​test
 +
 +</​code>​
 +
 Enabled it in rc.conf Enabled it in rc.conf
  
 +<code bash>
 echo '​mysql_enable="​YES"'​ >> /​etc/​rc.conf echo '​mysql_enable="​YES"'​ >> /​etc/​rc.conf
 +</​code>​
 +
 Now start it using. Now start it using.
  
 +<code bash>
 /​usr/​local/​etc/​rc.d/​mysql-server start /​usr/​local/​etc/​rc.d/​mysql-server start
-Error+</​code>​ 
 + 
 +**Error**
  
 If you get any error related to DB not found (usually get created on first RUN). If you get any error related to DB not found (usually get created on first RUN).
  
 +<code bash>
 mysql_install_db --datadir=/​usr/​local/​var mysql_install_db --datadir=/​usr/​local/​var
-ENJOY!! Optimized Version of MySQL MariaDB+</​code>​ 
 + 
 +**ENJOY!! Optimized Version of MySQL MariaDB**
building_mariadb_on_freebsd.txt · Last modified: 2017/07/01 22:10 by k2patel