• Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Register
  • Login
Bagisto Forum

Bagisto

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

Getting error after run the "php artisan migrate"

Installing Bagisto
5
24
5.2k
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 16 Jul 2019, 10:41

    @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 16 Jul 2019, 10:43

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

      1 Reply Last reply Reply Quote 0
      • R
        rahul last edited by 16 Jul 2019, 10:45

        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 16 Jul 2019, 11:35

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

          1 Reply Last reply Reply Quote 0
          • R
            rahul last edited by 16 Jul 2019, 11:42

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

            D 1 Reply Last reply 16 Jul 2019, 12:27 Reply Quote 0
            • D
              developer @rahul last edited by 16 Jul 2019, 12:27

              @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 16 Jul 2019, 12:32

                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 16 Jul 2019, 12:35

                  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 16 Jul 2019, 12:41

                    Capture.PNG

                    1 Reply Last reply Reply Quote 0
                    • D
                      developer last edited by 16 Jul 2019, 12:48

                      Capture.PNG

                      1 Reply Last reply Reply Quote 0
                      • R
                        rahul last edited by 16 Jul 2019, 12:50

                        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 16 Jul 2019, 13:01

                          @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 16 Jul 2019, 13:05

                            upgrade to 10.2 version.

                            1 Reply Last reply Reply Quote 0
                            • D
                              developer last edited by 16 Jul 2019, 13:12

                              @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 16 Jul 2019, 13:17

                                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 16 Jul 2019, 13:21

                                  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 16 Jul 2019, 13:37

                                    @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 16 Jul 2019, 15:49

                                      It does not support monogodb but can use postgrsql.

                                      1 Reply Last reply Reply Quote 0
                                      • 29 days later
                                      • R
                                        randy_johnson last edited by 14 Aug 2019, 13:23

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

                                        Georgiaava 1 Reply Last reply 18 Oct 2024, 06:38 Reply Quote 0
                                        • 5 years later
                                        • Georgiaava
                                          Georgiaava @randy_johnson last edited by 18 Oct 2024, 06:38

                                          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
                                          14 out of 24
                                          • First post
                                            14/24
                                            Last post