-
-
Notifications
You must be signed in to change notification settings - Fork 320
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
SQLSTATE[HY000] [2002] No such file or directory #57
Comments
Update I'm not using any database in my application, but when I change the |
Hey, clockwork tries to collect sql queries by default, if your app doesn't use database you can disable this behaviour by setting default database to |
@itsgoingd thanks, that definitely helped. Don't you think it's still a strange behavior? Why would it error when I'm not making any queries at all... |
Yeah, I'm not very happy with the current implementation myself. This was done due to a limitation in Laravel 4.0 (the latest version when Clockwork was initially released), which didn't have an api to tell if a database connection was actually being used (was added later) and it was never changed. This will be definitively improved in the next major Clockwork release. |
awesome, thanks. i'll mark this as closed for now :) |
Just installed clockwork
1.*
in a fresh Laravel 4.2 project, as soon as I added the service provider config i get this error :(The text was updated successfully, but these errors were encountered: