I moved my (wordpress) site to a new server. Why adminer cannot login to MySQL?

view story

http://serverfault.com – I just moved my wordpress site to another vps. Everything worked fine and i used sequel pro to connect to database (via ssh) and import my data. The strange thing is that i tried to connect to MySQL through adminer panel and the login page keeps refreshing on every submit and neither succesfull login nor error message. Permissions and ownership is www-data:www-data and 755 on folders, 644 on files. I can connect to mysql from the command line so i know that i am not typing an incorrect password but no way from adminer. Any suggestions? I would appreciate any help. Thanks. (HowTos)