Hi there
I had perl scripts that connect=
happily to a mysql server for years without problem (and are still connect=
ing).
I did today a second perl setup=
with strawberry portable perl, have installed all the modules. When I call=
the scripts and I tried to connect, I get
“DBI Connection failed: D=
BI connect('host=3Dmysql.unifr.ch;database=3Ddokpe_i02;','dokpe_i02_adm',..=
.) failed: Authentication plugin 'mysql_old_password' cannot be loaded: The=
specified module could not be found.
at c:/spp/perl/vendor/lib/DBIx/Class/Storage/DBI.pm line 1517. at c:/spp/pe=
rl/vendor/lib/DBIx/Class/Schema.pm line 1118.
&=
nbsp; DBIx::Class::Schema::throw_exception(Dbc::Schema=3DHASH(0x5a57e=
34), "DBI Connection failed: DBI connect('host=3D ….ch;datab&quo=
t;...) called at c:/spp/perl/vendor/lib/DBIx/Class/Storage.pm line 113̶=
1;
From some searches on the web, =
I’m not sure this is a problem with DBIx::Class, but I’m stuck =
anyway…
I have no admin rights on the m=
ysql server (I didn’t create the users and passwords myself) it is ve=
rsion 5.5.53 and the old_password property is set to OFF
Can someone gives me the steps =
to connect ?
Thanks
Fran=E7ois
Well, t=
here no one there ?
I did t=
his: I rename the folder in my perl perotable setup C:\spp\perl\site\lib\DB=
Ix\Class to …\DBIx\_Class
By the =
way it is version 0.082841
I copie=
d the folder C:\strawberry\perl\site\lib\DBIx\Class to C:\spp\perl\site\lib=
\DBIx
The old=
er version is 0.082821
And I c=
ould make the connection as usual.
So ther=
e is something to do with DBIx::Class isn’t there ?
Thanks =
for any clarification
F.
From: dbix-class-bounces at lists.scsys.co.uk <dbix-class-bounces at lists.=
scsys.co.uk>
On Behalf Of RAPPAZ Francois
Sent: 14 February 2019 13:21
To: dbix-class at lists.scsys.co.uk
Subject: [Dbix-class] mysql_old_password plugin
Hi there
I had perl scripts that connect=
happily to a mysql server for years without problem (and are still connect=
ing).
I did today a second perl setup=
with strawberry portable perl, have installed all the modules. When I call=
the scripts and I tried to connect, I get
“DBI Connection failed: D=
BI connect('host=3Dmysql.unifr.ch;database=3Ddokpe_i02;','dokpe_i02_adm',..=
.) failed: Authentication plugin 'mysql_old_password' cannot be loaded: The=
specified module could not be found.
at c:/spp/perl/vendor/lib/DBIx/Class/Storage/DBI.pm line 1517. at c:/spp/pe=
rl/vendor/lib/DBIx/Class/Schema.pm line 1118.
&=
nbsp; DBIx::Class::Schema::throw_exception(Dbc::Schema=3DHASH(0x5a57e=
34), "DBI Connection failed: DBI connect('host=3D ….ch;datab&quo=
t;...) called at c:/spp/perl/vendor/lib/DBIx/Class/Storage.pm line 113̶=
1;
From some searches on the web, =
I’m not sure this is a problem with DBIx::Class, but I’m stuck =
anyway…
I have no admin rights on the m=
ysql server (I didn’t create the users and passwords myself) it is ve=
rsion 5.5.53 and the old_password property is set to OFF
Can someone gives me the steps =
to connect ?
Thanks
Fran=E7ois