Re: DBD::mysql 4.025
[email protected] (Paul Durden) Mon, 30 Dec 2013 10:12:19 -0600
| Newsgroups | perl.win32.vanilla |
|---|---|
| Message-ID | <CA+4eRoqETFh2n4AzRdxOWF3khu=u4vXEbPXY969zPSZPiJv4hQ@mail.gmail.com> |
Updated my mysql_config.bat file to provide the various --testXXX
parameters, and everything worked great!
Also, the change to DBD::mysql 4.025 resolved my problem.
Using the 4.023 that shipped with Strawberry Perl, whenever I attempted to
add a row with a duplicate key, I received the following exception:
"DBIx::Class::Storage::DBI::_dbh_execute(): Unknown error: execute()
returned false, but error flags were not set... "
Now, with 4.025 I get the more reasonable exception:
"DBIx::Class::Storage::DBI::_dbh_execute(): DBI Exception:
DBD::mysql::st execute failed: Duplicate entry 'Chamber 03' for key
'chamber_name'..."
Perl -v reports "This is perl 5, version 18, subversion 1 (v5.18.1) built
for MSWin32-x86-multi-thread-64int"
On Sat, Dec 28, 2013 at 11:54 AM, kmx <[email protected]> wrote:
> try:
>
> C:\> cpanm DBD::mysql --configure-args="--mysql_config=mysql_config"
> --verbose --force
>
> --
> kmx
>
> On 28.12.2013 16:19, Paul Durden wrote:
>
> The DBD::mysql CPAN module has been updated to 4.025 to address many
> Windows related issues.
>
> The DBD::mysql version packaged with Strawberry Perl v5.18.1.1 is 4.023.
>
> I have had no luck in building the 4.025 myself, and was wondering if
> anyone has a binary install, or knows if the next Strawberry Perl
> maintenance release will include the newer version.
>
> Thanks,
> Paul
>
>
>