Hallo Forum,
ich habe Probleme mit mysql connect.
Fehlermeldung:
DBI connect('manstordb;host=139.25.98.154','readstor',...) failed: Client does not support authentication protocol requested by server; consider upgrading MySQL client at ./datenbank_read.pl line 32
Uncaught exception from user code:
Client does not support authentication protocol requested by server; consider upgrading MySQL client at ./datenbank_read.pl line 32.
at ./datenbank_read.pl line 32
use strict; # security
use diagnostics; # make more detailled -w
use DBI; # for the database-stuff...
my $dbhost = "x.y.z.a"; # on this host is the db
my $dbname = "db"; # name of data base
my $dbreaduser = "read"; # read login name for db
my $dbreadpass = "password"; # read pw for db
my $filerdb = DBI->connect("dbi:mysql:$dbname;host=$dbhost", "$dbreaduser", "$dbreadpass") or die $DBI::errstr;
Skript läuft auf Solaris 10, DBI und DBD::mysql Modul installiert.
Mysql Datenbank läuft auf linuxrechner.
Solaris: mysql Version 5.0.22, Linux mysql 5.0.27
Passen die beiden Versionen nicht zusammen ? Oder ist dort grundlegend etwas falsch ?
Für jede Hilfe bin ich sehr dankbar.