sql string is being dumb with variable for controller host. don't have time to debug. they'll be replicated anyway. use localhost