title: Installing MariaDB with MySQL on Mac
body: <p>I am trying to install MariaDB on my Mac using brew. However, I am struggling to get this installed due to it conflicting with MySQL. I was wondering whether anyone can advise how to set it up so I have both MariaDB and MySQL as I will need both on my machine as I work on multiple projects which need to use one or the other.</p>
  
  <pre><code>3x-iMac:~ admin$ mysql.server start
  Starting MariaDB
   SUCCESS! 
  
  3x-iMac:~ admin$ mysql -u root -p
  Enter password: 
  Welcome to the MariaDB monitor.  Commands end with ; or \g.
  Your MySQL connection id is 21
  Server version: 8.0.11 MySQL Community Server - GPL
  
  Copyright (c) 2000, 2018, Oracle, MariaDB Corporation Ab and others.
  
  Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
  
  3x-iMac:~ admin$ mysql -u root -p
  Enter password: 
  Welcome to the MariaDB monitor.  Commands end with ; or \g.
  Your MySQL connection id is 24
  Server version: 8.0.11 MySQL Community Server - GPL
  
  Copyright (c) 2000, 2018, Oracle, MariaDB Corporation Ab and others.
  
  Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
  
  MySQL [(none)]&gt; \s
  --------------
  mysql  Ver 15.1 Distrib 10.3.8-MariaDB, for osx10.13 (x86_64) using readline 5.1
  
  Connection id:      24
  Current database:   
  Current user:       root@localhost
  SSL:            Not in use
  Current pager:      stdout
  Using outfile:      ''
  Using delimiter:    ;
  Server:         MySQL
  Server version:     8.0.11 MySQL Community Server - GPL
  Protocol version:   10
  Connection:     Localhost via UNIX socket
  Server characterset:    utf8mb4
  Db     characterset:    utf8mb4
  Client characterset:    utf8
  Conn.  characterset:    utf8
  UNIX socket:        /tmp/mysql.sock
  Uptime:         2 hours 47 min 30 sec
  
  Threads: 6  Questions: 1257  Slow queries: 0  Opens: 154  Flush tables: 2  Open tables: 130  Queries per second avg: 0.125
  --------------
  </code></pre>