MX on Linux: Difference between revisions

241 bytes added ,  12:52, 31 August 2020
m
Line 319: Line 319:


Since MySQL database is controlled by Oracle, Maria is an alternative that has largely similar command syntax so is likely to work with code (like MX) designed to work with MySQL. Since the MX developer (Mark Crossley) actually uses Maria DB we can have plenty of confidence it is suitable.  To install it we type <tt>sudo apt install mariadb-server php-mysql -y</tt>.
Since MySQL database is controlled by Oracle, Maria is an alternative that has largely similar command syntax so is likely to work with code (like MX) designed to work with MySQL. Since the MX developer (Mark Crossley) actually uses Maria DB we can have plenty of confidence it is suitable.  To install it we type <tt>sudo apt install mariadb-server php-mysql -y</tt>.
Our database files will be stored at '''/var/lib/mysql''' by default. Our MariaDB configuration is stored at '''/etc/mysql/mariadb.conf.d/50-server.cnf''', and it is the ''datadir='' entry that controls where the database files are stored.


== Restarting Apache ==
== Restarting Apache ==
5,838

edits