Multisite with subfolders- can’t access main site- Error establishing a database connection

I guess the issue might be somewhere in the database with ip instead of the domain, but I can’t access the database. I can access the subfolder site mydomain.com/site, but can’t access the main mydomain.com, as it is showing Error establishing a database connection. What could cause this issue and can someone please help fixing…

Migration from CSV: how to define a default value for autoincremental id field?

I run migrations from CSV using Migrate Source CSV, Migrate Plus and Migrate Tools modules and it works fine. The result of one of these migration is a custom entity which key is a ‘id’ field that has the ‘AUTO_INCREMENT’ property in the database. Here is my migration_contractssubscriptions.yaml id: migration_contractssubscriptions migration_group: null label: ‘Contract Subscriptions…