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

数据库安装时修改配置文件导致初始化失败的问题 #362

Open
txdyzdy opened this issue Jan 8, 2018 · 0 comments
Open

数据库安装时修改配置文件导致初始化失败的问题 #362

txdyzdy opened this issue Jan 8, 2018 · 0 comments

Comments

@txdyzdy
Copy link

txdyzdy commented Jan 8, 2018

image

在数据库安装过程中,会修改默认的my.cnf文件,增加tmpdir的配置,并且在/var/lib/mysql中创建目录。

image

但此时还没有初始化db,因此初始化db时,由于目录/var/lib/mysql下已有文件,导致数据库初始化失败。

image

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

1 participant