User authenticated but not initializing room with prosody and mysql

I am authenticating user thought prosody connect with MySQL.
when i entered invalid username password . i am getting invalid username password.(correct).

But when i entered valid credential then i got Obtaining session id …-> then --> again waiting for host …

if i comment MySQL connection in prosody config file and authorized with only prosody then it’s working fine.

Please help me.

Hii everyone …

Plz succest me…

I am not able to initialize room.