|
Posted by brian jackson on June 15, 2005, 10:25 am
Please log in for more thread options
klicker-mail@gmx.net wrote:
> Hi!
>
> Since mySQL 3.2x there have been a lot of changes. But one was the most
> significant to me: the new login process. This thing made Net::MySQL
> unusable for mySQL 4.x.
> Before I used Net::MySQL I tried DBI + DBD::mysql, but that was much
> slower. So I appreciate the pure-perl-solution. I tried to adjust the
> last version of Net::MySQL to work with the new login process, but the
> new password algorithm is not documented anywhere and the source code
> of mySQL does not push me further.
>
> So, does anyone know another module for a pure-perl access to mySQL or
> is there someone who already modified the old module?
Hi Mario-
While I don't have an answer to your direct question, you might be able to
'trick' the perl module to work with the new mysql version.
You can run the following from a mysql prompt to convert the passwds back to
the old style:
update user set password = old_password([put your passwd here]) where user
='[username]';
Give that a try and see if the perl mod works then.
good luck,
brian
|