Bagisto Forum

    Bagisto

    • Register
    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups

    Getting error after run the "php artisan migrate"

    Installing Bagisto
    5
    24
    5192
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • D
      developer @rahul last edited by

      @rahul i have run this command but the problem is because of my weak connection some of the package did not install but do find the folder vendor

      1 Reply Last reply Reply Quote 0
      • D
        developer last edited by

        i have found .env.example file but .env file doesn't exists

        1 Reply Last reply Reply Quote 0
        • R
          rahul last edited by

          Hi,

          Create .env file, you can run 'cp .env.example .env', then mentioned needy information in this file like -

          DB_CONNECTION=mysql
          DB_HOST=127.0.0.1
          DB_PORT=3306
          DB_DATABASE=******
          DB_USERNAME=*******
          DB_PASSWORD=*****

          Then run migrate & seed

          Thanks

          1 Reply Last reply Reply Quote 0
          • D
            developer last edited by

            is it php artisan migrate will create all the tables for me

            1 Reply Last reply Reply Quote 0
            • R
              rahul last edited by

              Run 'php artisan migrate' for creating table then 'php artisan db:seed' to seed data in database.

              D 1 Reply Last reply Reply Quote 0
              • D
                developer @rahul last edited by

                @rahul said in Getting error after run the "php artisan migrate":

                artisan migrate

                where can i find database table

                1 Reply Last reply Reply Quote 0
                • D
                  developer last edited by

                  when i run composer install i got this error it is unsafe to run dusk in production

                  1 Reply Last reply Reply Quote 0
                  • R
                    rahul last edited by

                    Hi,

                    Can you attach a screenshot 'php artisan migrate' command & if database is created then you can find tables in your database.

                    'unsafe to run dusk in production' is not error.

                    Thanks

                    1 Reply Last reply Reply Quote 0
                    • D
                      developer last edited by

                      Capture.PNG

                      1 Reply Last reply Reply Quote 0
                      • D
                        developer last edited by

                        Capture.PNG

                        1 Reply Last reply Reply Quote 0
                        • R
                          rahul last edited by

                          Hi @developer

                          Please upgrade your database version which supports json columns because we are using JSON column and your current MariaDB version does not support it.

                          follow this link for solution - https://stackoverflow.com/questions/44027926/update-xampp-from-maria-db-10-1-to-10-2.

                          Thanks

                          1 Reply Last reply Reply Quote 0
                          • D
                            developer last edited by

                            @rahul said in Getting error after run the "php artisan migrate":

                            follow this link for solution - https://stackoverflow.com/questions/44027926/update-xampp-from-maria-db-10-1-to-10-2.

                            there are many upgradde which one should i upgrade to

                            1 Reply Last reply Reply Quote 0
                            • R
                              rahul last edited by

                              upgrade to 10.2 version.

                              1 Reply Last reply Reply Quote 0
                              • D
                                developer last edited by

                                @rahul said in Getting error after run the "php artisan migrate":

                                10.2 version.
                                i download this version mariadb-10.2.10.tar.gz and i follow along but when i got to this step Rename xampp/mysql/data to data_old. i didn't find data folder

                                1 Reply Last reply Reply Quote 0
                                • D
                                  developer last edited by

                                  i found a folder called data but it is inside the C:\xampp\mysql\storage\mroonga\data

                                  1 Reply Last reply Reply Quote 0
                                  • R
                                    rahul last edited by

                                    If you are facing difficulty to upgrade it, uninstall it & download new MariaDB (10.2) & then check.

                                    1 Reply Last reply Reply Quote 0
                                    • D
                                      developer last edited by

                                      @rahul said in Getting error after run the "php artisan migrate":

                                      MariaDB (10.2)

                                      i can use any dataase i want like postgrsql, or monogodb

                                      1 Reply Last reply Reply Quote 0
                                      • R
                                        rahul last edited by

                                        It does not support monogodb but can use postgrsql.

                                        1 Reply Last reply Reply Quote 0
                                        • R
                                          randy_johnson last edited by

                                          Hey dude I was having problems like this until I found the bagisto documentation installation.

                                          Georgiaava 1 Reply Last reply Reply Quote 0
                                          • Georgiaava
                                            Georgiaava @randy_johnson last edited by

                                            When I run: php artisan migrate I get the following error PDO Exception SQL STATE Access denied for user 'homestead' localhost'IF you want to make sure your database to be monkey type clean with your latest changes, you can drop your entire database tables and do php artisan migrate again. Also, you can try php artisan migrate --seed if you have any seeder

                                            1 Reply Last reply Reply Quote 0
                                            • First post
                                              Last post