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
$ php artisan db:spy dp:../mysql-connector-java-5.1.44-bin.jar
Unknown connection 'dp:../mysql-connector-java-5.1.44-bin.jar'. Command will fail unless you provide DB credentials.
Enter database name:
> blog
Enter database username:
> root
*** Required parameter 'host' (hostname[:port] host where database resides with optional port) was not specified. It is required for this database type. ***
Something went wrong
The text was updated successfully, but these errors were encountered:
The parameter you need to pass is not the JAVA connector file path, but the name of your database connection in your Laravel configuration, that is, the value of the default key of your config/database.php file.
To provide the JAVA connector file path you need to edit the config/spy.php file.
The text was updated successfully, but these errors were encountered: