Differences

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

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
wiki:mysql_persistence_guide [2011/10/07 09:15] bmarkuswiki:mysql_persistence_guide [2015/04/06 08:55] (current) – [MySQL Settings] bmarkus
Line 1: Line 1:
-====== Installing MySQL ======+ARTICLE IS UNDER CONSTRUCTION !!!
  
-First of all you will need to have the MySQL extension installed -- you can do this through the CLI on microcore +====== What is MariaDB ======
  
-  tce-load -wi mysql.tcz+MariaDB is an enhanced, drop-in replacement for MySQL. 
 + 
 +====== Installing MariaDB ====== 
 + 
 +First of all you will need to have the MariaDB server and client extensions installed -- you can do this through the CLI 
 + 
 +  tce-load -wi mariadb.tcz mariadb-client.tcz
  
 Or through the GUI app browser in tiny core.  Or through the GUI app browser in tiny core. 
  
-Your MySQL installation will auto generate two items of interest '/etc/my.cnf' and '/usr/local/mysql/data/' +Your MariaDB installation will auto generate two items of interest '/etc/my.cnf' and '/usr/local/mysql/data/' 
  
 You will want to copy both these items to a persistent  area at a later stage, you have a choice of either adding these items to your filetool.lst, or to your persistent storage medium i.e. HDD or USB You will want to copy both these items to a persistent  area at a later stage, you have a choice of either adding these items to your filetool.lst, or to your persistent storage medium i.e. HDD or USB
Line 28: Line 34:
      
  
-====== MySQL Settings ======+====== MariaDB Settings ======
 === Root password === === Root password ===
  
Line 111: Line 117:
   ln -s /mnt/hdd/database/data /usr/local/mysql/data   ln -s /mnt/hdd/database/data /usr/local/mysql/data
   ln -s /mnt/hdd/database/my.cnf /etc/my.cnf   ln -s /mnt/hdd/database/my.cnf /etc/my.cnf
-  mysqladmin --user=root shutdown 
   /etc/init.d/services/mysql start   /etc/init.d/services/mysql start
      
Print/export
QR Code
QR Code wiki:mysql_persistence_guide (generated for current page)