Change the database of a project aimeos
Forum rules
Always add your Laravel, Aimeos and PHP version as well as your environment (Linux/Mac/Win)
Spam and unrelated posts will be removed immediately!
Always add your Laravel, Aimeos and PHP version as well as your environment (Linux/Mac/Win)
Spam and unrelated posts will be removed immediately!
- ArthurHenrique
- Posts: 18
- Joined: 28 Jan 2021, 18:30
Change the database of a project aimeos
Hi, I need help to change the database of my project aimeos.
I have no idea how to do that, I had created a new database and had changed the parameter (DB_DATABASE=) of the .env arquive, so I've try using php artisan migrate but its not worked, what I can do to have all the extructure that I had? Sorry about my english, its not so good.
Enviroment:
Windows 10
PHP = 7.2
Laravel = 6.0
Aimeos = 2020.10
I have no idea how to do that, I had created a new database and had changed the parameter (DB_DATABASE=) of the .env arquive, so I've try using php artisan migrate but its not worked, what I can do to have all the extructure that I had? Sorry about my english, its not so good.
Enviroment:
Windows 10
PHP = 7.2
Laravel = 6.0
Aimeos = 2020.10
Re: Change the database of a project aimeos
You have to run this command to create the Aimeos database tables:
Code: Select all
php artisan aimeos:setup
Professional support and custom implementation are available at Aimeos.com
If you like Aimeos,
give us a star
If you like Aimeos,

Re: Change the database of a project aimeos
Hi,
and try the command :
- Change the database name in .env
- change the name of the database in the file config/shop.php
Code: Select all
php artisan config:cache ;php artisan cache:clear ; php artisan aimeos:clear
Code: Select all
php ./artisan aimeos:setup
php ./artisan route:clear
php ./artisan view:clear
php ./artisan aimeos:clear