SQLSRV configuration.

Help for integrating the Laravel package
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!
syedaliiftikhar
Posts: 12
Joined: 19 Apr 2024, 18:29

SQLSRV configuration.

Post by syedaliiftikhar » 08 May 2024, 14:23

I'm trying to connect with sqlsrv. Could you provide guidance on the correct configuration pattern in config/shop.php? I'm encountering an issue with trust_server_certificate.

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

Re: SQLSRV configuration.

Post by aimeos » 08 May 2024, 17:40

The unit tests use this configuration:
https://github.com/aimeos/aimeos-core/b ... ig.yml#L25
Professional support and custom implementation are available at Aimeos.com
If you like Aimeos, Image give us a star

syedaliiftikhar
Posts: 12
Joined: 19 Apr 2024, 18:29

Re: SQLSRV configuration.

Post by syedaliiftikhar » 08 May 2024, 18:01

I'm adding configuration in shop.php, but it's giving me an error regarding the SSL certificate. When I use the Laravel Facade DB to connect directly from database.php, it works fine, but when using the Aimeos config, it doesn't work.

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

Re: SQLSRV configuration.

Post by aimeos » 09 May 2024, 07:51

The Aimeos database layer uses PDO directly. Check the internet if there are any special settings necessary for SQL server connections with TLS enabled.
Professional support and custom implementation are available at Aimeos.com
If you like Aimeos, Image give us a star

Post Reply