提交 1ea09e2e 编写于 作者: A Aaron Stone 提交者: GitHub

Remove mysql2 database adapter default username root

上级 ce2abffc
......@@ -10,8 +10,6 @@ module ConnectionHandling # :nodoc:
# Establishes a connection to the database that's used by all Active Record objects.
def mysql2_connection(config)
config = config.symbolize_keys
config[:username] = "root" if config[:username].nil?
config[:flags] ||= 0
if config[:flags].kind_of? Array
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册