How to install Installing MariaDB on Homestead ?

devquora
devquora

Posted On: Nov 23, 2022

 

You can Install MariaDB on Homestead by following the given step:

  • Remove MySQL server.
  • sudo apt-get remove --purge MySQL-server MySQL-client MySQL-common
  • sudo apt-get autoremove
  • sudo apt-get autoclean
  • After that install MariaDB
  • sudo apt-get install software-properties-common
  • sudo apt-key adv --recv-keys --keyserver hkp://keyserver.ubuntu.com:80 0xcbcb082a1bb943db
  • sudo add-apt-repository 'deb [arch=amd64,i386] http://sfo1.mirrors.digitalocean.com/mariadb/repo/10.1/ubuntu trusty main'
  • sudo apt-get update
  • sudo apt-get install mariadb-server
  • Now, In your homestead.yaml file, use
  • MariaDB: - homestead

    Related Questions

    Please Login or Register to leave a response.

    Related Questions

    Laravel 9 interview questions

    List Server Requirements for installing Laravel Framework

    There is quite a requisite for the installation of Laravel 6. And, below is the list of the required servers that are needed for the installment of it.PHP 7.2.0 version Extension of BCMath PHP J...

    Laravel 9 interview questions

    What is Composer? How to install composer

    Composer is a tool to manage the dependency in PHP. Composer allows declaring the libraries of a project and the composer will install or update them for the user. It is not a package manager but deal...

    Laravel 9 interview questions

    How to create a Laravel Project using composer.

    To create a Laravel project using composer you can follow the given steps:Step 1: Point your browser address bar to https://getcomposer.org/composer.phar Step 2: Create a new Laravel project...