Getting error after run the "php artisan migrate"
-
@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
-
i have found .env.example file but .env file doesn't exists
-
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
-
is it php artisan migrate will create all the tables for me
-
Run 'php artisan migrate' for creating table then 'php artisan db:seed' to seed data in database.
-
@rahul said in Getting error after run the "php artisan migrate":
artisan migrate
where can i find database table
-
when i run composer install i got this error it is unsafe to run dusk in production
-
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
-
-
-
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
-
@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
-
upgrade to 10.2 version.
-
@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 -
i found a folder called data but it is inside the C:\xampp\mysql\storage\mroonga\data
-
If you are facing difficulty to upgrade it, uninstall it & download new MariaDB (10.2) & then check.
-
@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
-
It does not support monogodb but can use postgrsql.
-
Hey dude I was having problems like this until I found the bagisto documentation installation.
-
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