in reply to MySQL with DBI: Access denied for user

chomp $out;

Check your data with Data::Dump's dd, see Basic debugging checklist

  • Comment on Re: MySQL with DBI: Access denied for user