You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I installed Herd on Windows. When checking if everything works in CLI (https://herd.laravel.com/docs/windows/getting-started/installation) I found that basic commands (herd, composer, php, laravel, ...) were not working. So I added %USERPROFILE%\.config\herd\bin to my PATH.
Then I bought Herd pro license. When I ran mysql command in CLI, it didn't work. Docs are clear (https://herd.laravel.com/docs/windows/herd-pro-services/mysql), but why do I need to add another folder to my PATH? I have already added %USERPROFILE%\.config\herd\bin.
So I added mysql.bat to %USERPROFILE%\.config\herd\bin with similar contents as in other default .bat files:
@echo off
"C:\Users\[username]\.config\herd\bin\services\mysql\8.0.36\bin\mysql.exe" %*
My suggestion is to include this mysql.bat file in default Herd installation. Maybe it will save a few clicks for other Windows developers.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
I installed Herd on Windows. When checking if everything works in CLI (https://herd.laravel.com/docs/windows/getting-started/installation) I found that basic commands (
herd
,composer
,php
,laravel
, ...) were not working. So I added%USERPROFILE%\.config\herd\bin
to my PATH.Then I bought Herd pro license. When I ran
mysql
command in CLI, it didn't work. Docs are clear (https://herd.laravel.com/docs/windows/herd-pro-services/mysql), but why do I need to add another folder to my PATH? I have already added%USERPROFILE%\.config\herd\bin
.So I added
mysql.bat
to%USERPROFILE%\.config\herd\bin
with similar contents as in other default .bat files:My suggestion is to include this
mysql.bat
file in default Herd installation. Maybe it will save a few clicks for other Windows developers.Beta Was this translation helpful? Give feedback.
All reactions