Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Yum in unable to install mysql #7

Open
jieliau opened this issue Nov 21, 2020 · 3 comments
Open

Yum in unable to install mysql #7

jieliau opened this issue Nov 21, 2020 · 3 comments

Comments

@jieliau
Copy link

jieliau commented Nov 21, 2020

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.

   packages: 
     yum:
       mariadb: []

Thanks.

@ghost
Copy link

ghost commented Jan 4, 2022

Have to change the table creation command also? I get this error after using mariadb
Unhandled exception during build: Command create-table failed

@chknabeel
Copy link

chknabeel commented Mar 8, 2022

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.

@fkromer
Copy link

fkromer commented Jan 3, 2023

Replacing mysql-devel: [] with mariadb-devel: [] does the job.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants