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

When mysql8 was initialized and created in Openshift 3.11, it failed due to the existence of the lost+found directory. #259

Closed
zhengbin78 opened this issue Jul 7, 2019 · 1 comment

Comments

@zhengbin78
Copy link

zhengbin78 commented Jul 7, 2019

I found the following script in the file "root-common/usr/libexec/container-setup":

#  some config options are only valid for particular versions
if [ "`version2number $MYSQL_VERSION`" -ge "800" ] ; then
    rm -f "${CONTAINER_SCRIPTS_PATH}/cnf/10-mysql57.cnf"
fi

-------

cat 10-mysql57.cnf

[mysqld]
#  http://www.chriscalender.com/ignoring-the-lostfound-directory-in-your-datadir/
ignore-db-dir=lost+found

However: mysql8 on ocp/okd also needs this parameter, why is it deleted? I think this file 10-mysql57.cnf should be retained, just the file name leads to misunderstanding.

@phracek
Copy link
Member

phracek commented Apr 17, 2024

Closing this issue. OpenShift 3 is not supported in this repository.

Feel free to use it in OpenSHift 4, where we have a lot of this which covers this issue.

Feel free to re-open it , in case it is still valid.

@phracek phracek closed this as completed Apr 17, 2024
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

2 participants