binux / qiandao

签到
https://qiandao.today
3.42k stars 706 forks source link

In config.py, why not login MySQL as 'qiandao' instead of 'root'? #17

Closed Goshin closed 8 years ago

Goshin commented 8 years ago

I notice a new user 'qiandao' will be created when setting up, but the default user of the MySQL configuration in config.py appears to be the 'root'.

Is it intended? or did I just miss something?

binux commented 8 years ago

Is the default configuration really working? I thought at least you need to modify something in config.py, and for qiandao.today, there is a local_config.py, almost everything in the config.py is modified for security reason.

Goshin commented 8 years ago

Well, in my case, it works fine with the default config after I changed 'root' to 'qiandao'.

I do think people need to do some custom works on the config, but not being aware of the 'qiandao', they might add a redundant user. So logging in MySQL as 'qiandao' in the default config would be appreciated.

binux commented 8 years ago

could you raise a pull request