> Sure, thanks for following up, Till.
>
> Let me check if I can share the phpinfo() output of each.
> I am indeed able to load the MYSQL drivers, but for some reason it's loading
> an insanely old version of the client API (3.x). I believe the latest
> versions are somewhere in the 5.x range? At any rate, the problem now has
> migrated to "Client does not support authenticated protocol requested by
> server; consider upgrading MySQL client."
> Google'ing this has resulted in advice on how to circumvent the error using
> MYSQL's OLD_PASSWORD command (or similar), or install updated clients.
> However, using the OLD_PASSWORD command is not an option, and I am unsure as
> how to update the mysql client (I copied over the latest MYSQL*.so files,
> and that didn't seem to help).
>
> I guess the main thing that is frustrating here is that at the core this
> appears to be a Zend Studio issue. I don't think I should be going through
> all these hoops to make PHPUnit jive with Zend Studio when it already came
> bundled with it; hence my question if I should be asking this elsewhere (I
> did in fact go ahead and post this in the Zend Studio support forum to see
> if there has been any experience with this there as well).
>
> I have attached the two phpinfo() results. The PHPUnit output is
> "phpinfo_not_working.html".
Cool, ok, so the phpinfo_not_working is clearly compiled against MySQL
3.x (scary) which breaks the test when you try to connect with a 3.x
client (your mysql/php) to a 4.x server.
If that is an issue of your environment or Zend Studio -- I'm not
entitled to say that. I'm guessing it's Zend Studio because the other
phpinfo looks fitter in this regard. ;-) While MySQL 3.x EOL'd a while
ago, there were some initial issues with migrating to 4.x because of
the license (I don't recall it all) maybe that's why they are stuck?
For the sake of completeness it would be nice if you update the thread
so Google picks it up and helps someone else -- if you manage to
resolve the issue.
In the meantime, I suggest you install PEAR and phpunit yourself. If
you need help, there are a lot of people on IRC (e.g. #pear @ efnet)
to help you out.
Till
没有评论:
发表评论