Hello,
Sorry if this is a silly question, but I’m trying to evaluate Atrocore and I’m completely new to it.
I made a test installation using docker compose as explained in the documentation.
When I try to create a connection to a MySql DB (running in a container as well), if I click on “test connection” I get an error that just says “500”, without any other detail.
I could not find other details about this error looking at the network tab with the browser’s developer tools, nor running podman logs.
What should I check to troubleshoot the creation of the connection?
Is there maybe something obvious that I’m overlooking?
Thanks!
Hello ptedesco!
Could you please send us some screenshots?
Hi Alex,
I’ve found the logs under /var/www/localhost/data/logs, and I see this error when I try to create a connection:
[2025-12-08T12:09:09.240267+00:00] Log.ERROR: Uncaught Exception Error: “Undefined constant PDO::MYSQL_ATTR_INIT_COMMAND” at /var/www/localhost/vendor/atrocore/core/app/Atro/ConnectionType/ConnectionMysql.php line 31 {“exception”:“[object] (Error(code: 0): Undefined constant PDO::MYSQL_ATTR_INIT_COMMAND at /var/www/localhost/vendor/atrocore/core/app/Atro/ConnectionType/ConnectionMysql.php:31)”}
I tried uncommenting this line in /usr/local/etc/php/php.ini:
extension=pdo_mysql
and restart apache, but it doesn’t seem to change anything.
Do you have any suggestions?
Thanks!