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

There may be a error in the document #290

Closed
woshichuanqilz opened this issue Jan 8, 2016 · 5 comments
Closed

There may be a error in the document #290

woshichuanqilz opened this issue Jan 8, 2016 · 5 comments

Comments

@woshichuanqilz
Copy link

There is a different to set the lower_case_table_names between windows and linux.

Use lower_case_table_names=0 on Unix and lower_case_table_names=2 on Windows.

quote link : mysql_link

But in the document it says that you should set ower_case_table_names=0. (If you use 0 , the mysql server will not start).

kbengine added a commit that referenced this issue Jan 11, 2016
There is a different to set the lower_case_table_names between windows and linux.

Use lower_case_table_names=0 on Unix and lower_case_table_names=2 on Windows.
@kbengine
Copy link
Owner

SHA-1: 6ff7e50

kbengine added a commit to kbengine/kbengine.github.com that referenced this issue Jan 11, 2016
There may be a error in the document
There is a different to set the lower_case_table_names between windows and linux.

Use lower_case_table_names=0 on Unix and lower_case_table_names=2 on Windows.
@kbengine
Copy link
Owner

https://github.com/kbengine/kbengine.github.com
SHA-1: 1fbc4b71517baad942224d323947490d9801122c

@kbengine
Copy link
Owner

Thank you for your reports!

@woshichuanqilz
Copy link
Author

python 安装脚本也需要修改一下, 我暂时修改了那个判断值, 安装成功了

                if lower_case_table_names != '2':  # 原本是0
                    ERROR_MSG('mysql lower_case_table_names is not 2 in windows')
                    config, cnf = getMysqlConfig()
                    INFO_MSG('Attempt to modify the [%s]...' % cnf)
                    config.set('mysqld', 'lower_case_table_names', '0')
                    config.write(open(cnf, "w"))
                    restartMsql()
                    continue

@kbengine
Copy link
Owner

ok

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