Fixing case for 'information_schema' as database names may be case sensitive, although this is often disabled.
Fixing badly named variable.
Putting all properties together.