Giter Club home page Giter Club logo

Comments (4)

drbyte avatar drbyte commented on August 23, 2024 4

Hmmm ... my memory was wrong: I just checked and I had installed mariadb before installing Valet. Found these entries (amongst others), in this order in my bash history:

brew install mariadb
brew services start mariadb
composer global require laravel/valet
valet install

So, yes, 👍 I agree, adding brew services start mariadb to the docs might be a good idea; granted, brew does tell you to do that at the end of installing mariadb.

from valet.

drbyte avatar drbyte commented on August 23, 2024

The last time I did a fresh install of Valet on a new Mac, it installed mariadb and I'm pretty sure it ran brew services start mariadb for me. Perhaps that's changed in the last 3 months.

NOTE: You only have to run brew services start mariadb once, as that also tells it to auto-start on each reboot.
(NOTE: mysql.server start only starts it in the current boot, and doesn't survive a reboot. The brew services start mariadb command survives a reboot.)

ie:
brew info mariadb reports:

To have launchd start mariadb now and restart at login:
brew services start mariadb
Or, if you don't want/need a background service you can just run:
mysql.server start

from valet.

tommytompkins avatar tommytompkins commented on August 23, 2024

Hmm...interesting. I'm curious why it didn't auto restart for me.

from valet.

drbyte avatar drbyte commented on August 23, 2024

This is now mentioned in the docs.
https://laravel.com/docs/5.3/valet#installation

from valet.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.