mysql_connect: Connection using old (pre-4.1.1) authentication protocol refused (client option 'secure_auth' enabled)
select_db: Connection using old (pre-4.1.1) authentication protocol refused (client option 'secure_auth' enabled)

Somewhere

query: Connection using old (pre-4.1.1) authentication protocol refused (client option 'secure_auth' enabled)
(empty)

Edit