Unfortunately, I don't have a direct answer for you. But, in order to try and diagnose the error, try the following:
- Make sure DBIx::Class::Schema::Loader is up-to-date (version 0.03009)
- Fix your connect string. the proper syntax is: dbi:mysql:database=$database;host=$hostname;port=$port (at least according to the DBD::mysql docs)
See if those help you at all...
"Go up to the next female stranger you see and tell her that her "body is a wonderland."
My hypothesis is that she’ll be too busy laughing at you to even bother slapping you." (src)