Database configuration

How to configure and adapt Aimeos based shops as developer
Forum rules
Always add your Aimeos and PHP version as well as your environment (Linux/Mac/Win)
Spam and unrelated posts will be removed immediately!
PM OFC
Posts: 6
Joined: 11 Dec 2022, 08:21

Database configuration

Post by PM OFC » 05 Mar 2023, 07:59

Hello Dear,
I have a problem to configur to database from .env file?

Firstly i install on a hosting but my hosting was chagned. I coppied from that hosting and upload to new hosting. after finished upload i set new database configuration info to .env but this time show error which i attached. where i configur for database connection.


PHP 7.3
Aimeos: 2021.10
Attachments
Screenshot_1.png
Screenshot_1.png (22.56 KiB) Viewed 2154 times

User avatar
aimeos
Administrator
Posts: 7858
Joined: 01 Jan 1970, 00:00

Re: Database configuration

Post by aimeos » 06 Mar 2023, 07:44

Maybe Laravel still caches the configuration. You can check if you execute this on the server:

Code: Select all

php artisan optimize:clear
Professional support and custom implementation are available at Aimeos.com
If you like Aimeos, Image give us a star

PM OFC
Posts: 6
Joined: 11 Dec 2022, 08:21

Re: Database configuration

Post by PM OFC » 06 Mar 2023, 09:30

I applied all command and lastly i set credential to config/database.php and shop.php additionaly create a resource.php but not working.

User avatar
aimeos
Administrator
Posts: 7858
Joined: 01 Jan 1970, 00:00

Re: Database configuration

Post by aimeos » 06 Mar 2023, 10:18

Then, your database credentials are wrong because your new server requires different username and password.
Professional support and custom implementation are available at Aimeos.com
If you like Aimeos, Image give us a star

PM OFC
Posts: 6
Joined: 11 Dec 2022, 08:21

Re: Database configuration

Post by PM OFC » 06 Mar 2023, 10:26

i changed and set it with new credential also

Post Reply