Open jieliau opened 3 years ago
Have to change the table creation command also? I get this error after using mariadb Unhandled exception during build: Command create-table failed
database.config should be updated to this to make it work:
packages:
yum:
mariadb-devel: []
container_commands:
01-create-tables:
command: "sh db/deployschema.sh"
ignoreErrors: true
db/deployschema.sh should be in root directory of your app.
Replacing mysql-devel: []
with mariadb-devel: []
does the job.
In .ebextensions/database.conf, Yum does not have mysql available for installation. Please replace mysql to mariadb. It's working from my end to deploy EB service on AWS.
Thanks.