Comments (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.
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.
Hmm...interesting. I'm curious why it didn't auto restart for me.
from valet.
This is now mentioned in the docs.
https://laravel.com/docs/5.3/valet#installation
from valet.
Related Issues (20)
- Warning: require_once(./cli/includes/require-drivers.php): Failed to open stream with custom driver for Symfony project HOT 7
- Running Valet with ExpressVPN not work HOT 21
- Any error in the system gives a 502 Gateway error and php-fpm.log file size in increased by ~1.1gb HOT 4
- update 4.0 bug
- Upgraded to Apple M1 now Valet services are erroring after being resintalled HOT 10
- nginx: [warn] the "http2_push_preload" directive is obsolete & the "listen ... http2" directive is deprecated HOT 2
- 502 Bad Gateway : upstream prematurely closed connection while reading response header from upstream HOT 6
- My extensions all stopped working after upgrading to v4 HOT 4
- Valet share not works HOT 2
- PHP 8.3 HOT 5
- Valet install - not starting nginx and dnsmasq HOT 1
- When using valet, sys_get_temp_dir() does return /var/tmp instead of /var/folders/7s/jq24sk81665c1j4y3v9l3vth0000gn/T HOT 4
- Space in "Application Support" Causing Error During "valet share" Command HOT 1
- error 502 when i use mongodb atlas connection mongodb+srv://connection-link HOT 2
- npm run dev throws Failed to load resource: net::ERR_CERT_COMMON_NAME_INVALID after upgrading to macOS Sonoma 14.4.1 HOT 1
- Couldn't Install Laravel Valet HOT 2
- AWS S3 temporaryUrl fails on Valet HOT 2
- Share with Expose HOT 1
- NET::ERR_CERT_AUTHORITY_INVALID HOT 14
- Not working valet php command to proxy calls on Macbook M3 HOT 7
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from valet.