skip to Main Content

screenshot

somebody whomight know whats causing the error please help me

here is the results after i try run the php artisan migrate

The command "mysql --user="${:LARAVEL_LOAD_USER}"
--password="${:LARAVEL_LOAD_PASSWORD}"
--host="${:LARAVEL_LOAD_HOST}"
--port="${:LARAVEL_LOAD_PORT}"
--database="${:LARAVEL_LOAD_DATABASE}" < "${:LARAVEL_LOAD_PATH}"" failed.

Exit Code: 1(General error)

Working directory: C:xampphtdocsFoodTigerv3.5

Output:
================


Error Output:
================
'mysql' is not recognized as an internal or external command,
operable program or batch file.

2

Answers


  1. Chosen as BEST ANSWER

    im still trying and i dont know what the issue is..but im seeing a docker compose file in the project.. its a github download project im trying to test myself.. i just need the database so whoever can help please tell me..maybe i share to anyine the zip file and help me get the database


  2. The artisan console doesn’t seem to do MySQL jobs itself. It uses the mysql command line tool to work. This require you to have a mysql client installed in your shell environment. You’d also need to add the path to the tool to your PATH setting.

    Login or Signup to reply.
Please signup or login to give your own answer.
Back To Top
Search