How create mass dynamic virtual hosting in nginx with Mysql database

how make mass dynamic hosting like mod_vhost_dbi in apachi

how we can execute mysql query in nginx.conf with out drizzle

Posted at Nginx Forum:
http://forum.nginx.org/read.php?2,227275,227275#msg-227275