in reply to Re^4: plugin 'mysql_old_password' cannot be loaded
in thread plugin 'mysql_old_password' cannot be loaded
Run this program (with your credentials) on both old and new perls and post the results so we can see which versions you have.
poj#!/usr/bin/perl use strict; use DBI; my $dbh = get_dbh(); my ($ver) = $dbh->selectrow_array('SELECT VERSION()'); printf "OS : %s\n",$^O; printf "Perl : %s\n",$^V; printf "DBD::MySQL : %s\n",$DBD::mysql::VERSION; printf "Server : %s\n",$ver; sub get_dbh { my $server = 'localhost'; my $database = "pm"; my $user = "user"; my $pw = "password"; my $dsn = "dbi:mysql:$database:$server:3306"; my $dbh = DBI->connect($dsn, $user, $pw, { RaiseError=>1, AutoCommit=>1 } ); return $dbh; }
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^6: plugin 'mysql_old_password' cannot be loaded
by frazap (Monk) on Feb 19, 2019 at 07:47 UTC | |
by marto (Cardinal) on Feb 19, 2019 at 08:01 UTC | |
by poj (Abbot) on Feb 19, 2019 at 09:09 UTC | |
by frazap (Monk) on Feb 19, 2019 at 09:34 UTC | |
by poj (Abbot) on Feb 19, 2019 at 10:55 UTC | |
by frazap (Monk) on Feb 19, 2019 at 12:07 UTC | |
|