added sample mysql connection configuration
trim unicode characters from url if any
variables tweaking for heavy load