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

Unable to install mysql on debian 10 : No package matching 'mysql-server' is available #336

Closed
pulse-mind opened this issue Jul 15, 2019 · 6 comments

Comments

@pulse-mind
Copy link
Contributor

Hello,

First thank you for the job done on this role and others roles!

This is the error in the console:

TASK [geerlingguy.mysql : Ensure MySQL packages are installed.] ***************************************************************************************************************
fatal: [172.31.2.226]: FAILED! => {"changed": false, "msg": "No package matching 'mysql-server' is available"}
@pulse-mind
Copy link
Contributor Author

pulse-mind commented Jul 15, 2019

It looks like the packages should be :

mariadb-server
mariadb-client

Source : https://computingforgeeks.com/how-to-install-mariadb-on-debian-10-buster/

@speedlight
Copy link

mysql-server is now default-msql-server the same for mysql-client maybe a new role for mariadb cloud be useful as some may need specifically mysql and not mariadb :)

@speedlight
Copy link

And, the variable mysql_packages help with this, like:

mysql_packages:
 - default-mysql-server

or

mysql_packages:
 - mariadb-server

@pulse-mind
Copy link
Contributor Author

Thank you @speedlight and what about __mysql_daemon: ???

@geerlingguy
Copy link
Owner

Fixed via commit in #337. Thanks!

@hamzaabi
Copy link

changing the name=mysql-server-.....by mariadb-server fixed the issue

thank you very much

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

Successfully merging a pull request may close this issue.

4 participants