Comments (4)
Hello @nioumaxime I am afraid I was not able to replicate your issue.
I tried in mysql 8 and 5.7 too.
From a quick google search I found this: https://stackoverflow.com/questions/20723803/pdoexception-sqlstatehy000-2002-no-such-file-or-directory
Could be related with your problem.
Let me know how it goes.
Cheers
from generators.
Hello there! Thanks for opening your first issue on this repo!
Just a heads-up: Here at Backpack we use Github Issues only for tracking bugs. Talk about new features is also acceptable. This helps a lot in keeping our focus on improving Backpack. If you issue is not a bug/feature, please help us out by closing the issue yourself and posting in the appropriate medium (see below). If you're not sure where it fits, it's ok, a community member will probably reply to help you with that.
Backpack communication mediums:
- Bug Reports, Feature Requests - Github Issues (here);
- Quick help (How do I do X) - Gitter Chatroom;
- Long questions (I have done X and Y and it won't do Z wtf) - Stackoverflow, using the
backpack-for-laravel
tag;
Please keep in mind Backpack offers no official / paid support. Whatever help you receive here, on Gitter, Slack or Stackoverflow is thanks to our awesome awesome community members, who give up some of their time to help their peers. If you want to join our community, just start pitching in. We take pride in being a welcoming bunch.
Thank you!
--
Justin Case
The Backpack Robot
from generators.
Hum yes, thanks @pxpm it worked, changing to 127.0.0.1 and adding a unix_socket did the trick.
A pretty strange behavior considering the error actually throw what seems like an incorrect query...
I remember having to change between the two a while ago but didn't knew it could still cause that kind of problem.
By the way is there any reason why using 127.0.0.1 over localhost isn't more encouraged ?
from generators.
@nioumaxime I am not a devops expert, but I think it has to do with machine name resolution or something similar. Using localhost will force your mysql instance to use the unix socket, if it's not on the "default" location, it will fail.
Glad it's solved! 🙏
Cheers
from generators.
Related Issues (20)
- Class 'Backpack\Generators\GeneratorsServiceProvider' not found HOT 3
- created_at is the first generated field and column HOT 1
- [improvement] refactor the way we validate that file is a model HOT 2
- `php artisan backpack:crud` output is now messy HOT 3
- Create a `php artisan backpack:button` command HOT 3
- Add optional flags to `php artisan backpack:crud` HOT 4
- Command to create a new page: HOT 12
- Echo file paths for PHP classes after `php artisan backpack:crud`
- Method Illuminate\Support\Stringable::lcfirst does not exist. HOT 6
- backpack:crud SomeEntity throws an error in mongodb
- `php artisan backpack:build` on our demo highlights a bunch of minor problems HOT 2
- [bug] generating nested controllers and models HOT 3
- "Backpack\Generators\Services\BackpackCommand contains 1 abstract method" after update HOT 3
- Issue about abstract class HOT 4
- PHP 8.2 deprecation warning in PageBackpackCommand HOT 2
- In L10 it fails adding CrudTrait HOT 2
- Add --force arg to backpack:crud command HOT 3
- [v6] Remove fluent and array syntax comments from generated CrudControllers HOT 1
- 3.3.16 Method Illuminate\Support\Stringable::value does not exist on `php artisan backpack:build` HOT 3
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 generators.