Re: Error In Using Perl To Connect To MySQL
- From: Louis <t051315@xxxxxxxxxxx>
- Date: Sat, 27 May 2006 23:31:31 GMT
Sherm Pendley wrote:
Louis <t051315@xxxxxxxxxxx> writes:Hi Sherm,
OS: Windows XP SP2
Perl version : v5.8.7 built for MSWin32-x86-multi-thread
MySQL version : server: 5.0.21-community-nt
MySQL version : client: 5.0.11
Both Perl and MySQL work on my machine. I wanted to test using Perl
to manipulate MySQL data.
I installed DBI and DBD:mysql. And when I try testing to connect to
MySQL inside a perl script, I got the following error:
DBI connect('database=mymusic;host=localhost','root',...) failed:
Client does not support authentication protocol requested by server;
consider upgrading MySQL client at mydbi.pl line 24
No need to upgrade, just give 'root' an old-style password. Have a look:
<http://dev.mysql.com/doc/refman/5.1/en/old-client.html>
sherm--
Thank you for your solution. It works. I am still puzzled by the explanation though. I have never used MySQL pre 4.1. Whatever works.
Thank you very much.
.
- Follow-Ups:
- Re: Error In Using Perl To Connect To MySQL
- From: Sherm Pendley
- Re: Error In Using Perl To Connect To MySQL
- References:
- Error In Using Perl To Connect To MySQL
- From: Louis
- Re: Error In Using Perl To Connect To MySQL
- From: Sherm Pendley
- Error In Using Perl To Connect To MySQL
- Prev by Date: Question about creating modules
- Next by Date: Re: Error In Using Perl To Connect To MySQL
- Previous by thread: Re: Error In Using Perl To Connect To MySQL
- Next by thread: Re: Error In Using Perl To Connect To MySQL
- Index(es):
Relevant Pages
|