since i also want to do some rails stuff, does rails assume mysql is
working, and/or need the naive libs for that working?
~/src/ruby-mysql-0.2.6 > sudo ruby ./test.rb localhost XXX XXXPW
connect............../mysql.rb:453:in `read': Client does not support
authentication protocol requested by server; consider upgrading MySQL
client (Mysql::Error)
from ./mysql.rb:130:in `real_connect'
from ./mysql.rb:91:in `initialize'
from ./mysql.rb:1085:in `new'
from ./mysql.rb:1085:in `connect'
from ./t/00connect.rb:1
from ./test.rb:23:in `load'
from ./test.rb:23
from ./test.rb:19:in `each'
from ./test.rb:19
for what its worth, cocoaMysql beta version is also needed to connect...
this was unfortunately a lot more painful than setting up on windows...
/dc
···
On 23/09/06, David Vallner <david@vallner.net> wrote:
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
dc wrote:
> also, i guess there are generic DBI drivers - is this a more recommended
> route?
> http://ruby-dbi.rubyforge.org/
>
DBI is just a database abstraction library, it still depends on the
vendor-specific clients.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org