Bad Handshake... What does this mean? Desperate for an answer...
All,
I have been trying to debug this problem all weekend but I haven't been able to get any closer to the solution...
I have just upgraded to 5.1 from 4.1 on a Red Hat box. Everything is fine. I can connect to the database using the shell, I can connect to the database using a Perl script using DBI (also from the shell), However I cannot connect to the database using a Perl/CGI (inside Apache).
All I get is this error:
Bad handshake at line 123
That line is actually referring to the DBI->connect function.
my $dbh = DBI->connect('DBI:mysql:test:'.get_db(), 'root', '') or die $DBI::errstr;
I have scoured the internet looking for solutions, but all I have found is people talking about old/new password authentication. Furthermore, I have tried recompiling the CPAN modules against the new version.
Here is my other thread:
http://forums.mysql.com/read.php?11,419782,419782#msg-419782
Any help is greatly appreciated.