SQLSTATE[HY000] [2000] mysqlnd cannot connect to MySQL 4.1+ using the old insecure authentication. Please use an administration tool to reset your password with the command SET PASSWORD = PASSWORD('your_existing_password'). This will store a new, and more secure, hash value in mysql.user. If this user is used in other scripts executed by PHP 5.2 or earlier you might need to remove the old-passwords flag from your my.cnf file

Array ( [0] => Array ( [file] => /home/amreco/ftp/libraries/Armazon/classes/MySQLDAOPDO/MySQLDAOPDO.class.inc.php [line] => 114 [function] => __construct [class] => PDO [type] => -> [args] => Array ( [0] => mysql:host=sql.amreco.nazwa.pl;dbname=amreco [1] => amreco [2] => !QAZ2wsx#EDC ) ) [1] => Array ( [file] => /home/amreco/ftp/libraries/Armazon/classes/MySQLDAOPDO/MySQLDAOPDO.class.inc.php [line] => 63 [function] => _setConnection [class] => MySQLDAOPDO [type] => -> [args] => Array ( ) ) [2] => Array ( [file] => /home/amreco/ftp/index.php [line] => 40 [function] => __construct [class] => MySQLDAOPDO [type] => -> [args] => Array ( [0] => DBConnParams Object ( [_dbHost:DBConnParams:private] => sql.amreco.nazwa.pl [_dbPort:DBConnParams:private] => 3305 [_dbName:DBConnParams:private] => amreco [_dbLogin:DBConnParams:private] => amreco [_dbPassword:DBConnParams:private] => !QAZ2wsx#EDC [_dbDSNName:DBConnParams:private] => [_arrParams:DBConnParams:private] => Array ( [DB_HOST] => sql.amreco.nazwa.pl [DB_PORT] => 3305 [DB_NAME] => amreco [DB_LOGIN] => amreco [DB_PASSWORD] => !QAZ2wsx#EDC [DB_DSN_NAME] => ) ) [1] => utf8 ) ) )