GithubHelp home page GithubHelp logo

Comments (3)

Mahmoudz avatar Mahmoudz commented on July 19, 2024

@shadyk thanks for using this project.

before you are able to call that migration (php artisan migrate), you must publish the Module Migrations to the Framework migrations directory.

Example of publishing the User Module Migrations: php artisan vendor:publish --provider="Mega\Modules\User\Providers\UserServiceProvider"

So just run this and then try again.

This is mentioned in the Notes section of https://github.com/Mahmoudz/Hello-API/wiki/Database-Migrations.

I will update the Installation steps to cover that in a more clear way.

Regarding the PDO exception this is usually due to missing the PDO installation on your server or could be installed but misconfigured. Try using this project (LaraDock) to make your life easier and to manage your server environment in a very easy way. LaraDock is tested and run smoothly with Hello API.

And finally for the Production thingy just make sure the .env exist the variables are set correctly.

Best,

from apiato.

 avatar commented on July 19, 2024

Hello again,

Your solution worked but not totally when i tried to migrate I now get another error
php artisan migrate

[PDOException]
SQLSTATE[HY000] [2002] Operation timed out

It is timing out after 10 sec

from apiato.

Mahmoudz avatar Mahmoudz commented on July 19, 2024

not sure why! but try switching 127.0.0.1 with localhost and vice versa in your config files.

from apiato.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.