geerlingguy / ansible-role-mysql

Ansible Role - MySQL
https://galaxy.ansible.com/geerlingguy/mysql/
MIT License
1.05k stars 862 forks source link

Disable Starting of MySQL on Debian during install. #474

Closed misilot closed 1 year ago

misilot commented 2 years ago

Disable Starting of MySQL Server on Debian based systems during install.

stale[bot] commented 2 years ago

This pull request has been marked 'stale' due to lack of recent activity. If there is no further activity, the PR will be closed in another 30 days. Thank you for your contribution!

Please read this blog post to see the reasons why I mark pull requests as stale.

misilot commented 2 years ago

not stale

stale[bot] commented 2 years ago

This issue is no longer marked for closure.

stale[bot] commented 2 years ago

This pull request has been marked 'stale' due to lack of recent activity. If there is no further activity, the PR will be closed in another 30 days. Thank you for your contribution!

Please read this blog post to see the reasons why I mark pull requests as stale.

misilot commented 2 years ago

not stale

stale[bot] commented 2 years ago

This issue is no longer marked for closure.

geerlingguy commented 2 years ago

I like this idea, but for some reason tests aren't running on this PR...?

misilot commented 2 years ago

Let me rebase and see what happens

misilot commented 2 years ago

@geerlingguy looks like they might be running now

JoyceBabu commented 1 year ago

I am trying to install MariaDB 10.8 with this role by adding the mariadb repository for the version using a pre task. But the role is failing when running task Ensure MySQL is started and enabled on boot since the default ib_logfile0 was deleted by the role after installation.

[ERROR] InnoDB: File ./ib_logfile0 was not found

Will this PR fix the issue?

johansenha commented 1 year ago

I am trying to install MariaDB 10.8 with this role by adding the mariadb repository for the version using a pre task. But the role is failing when running task Ensure MySQL is started and enabled on boot since the default ib_logfile0 was deleted by the role after installation.

[ERROR] InnoDB: File ./ib_logfile0 was not found

Will this PR fix the issue?

same happening to me. Mariadb 10.8 on ubuntu22.04

misilot commented 1 year ago

Thanks @geerlingguy!