From: Paul Vudmaska Date: 2004-05-24T03:42:55+09:00 Subject: Re: mysql-ruby --------------060804000502000603080703 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Michael Neumann wrote: >On Sun, May 23, 2004 at 04:53:45PM +0900, paul vudmaska wrote: > > >>Paul Vudmaska wrote in message news:<40AF9541.7080403@vudmaska.com>... >> >> >>>Appologies for top posting and inconveniencing everyone. >>>redhat linux 9.2 >>>ruby 1.8 >>>mysql-ruby 2.4.5 >>>dbi 0.23 >>>mysql 4.0.2 >>> >>>In a nutshell, dbi is dieing(killing the response) calling either >>>select_one, or select_all (but do works), no header, no response at all. >>> >>> >>This is definately a bad install of mysql-ruby. I've tried it with >> >> > >Does this mean (which I except) that it's not a bug in DBI? If the same >error occurs with and without DBI, then it's probably not a DBI related >bug. > >I am a bit confused about mysql-ruby and ruby-mysql. I know that one of >them in a pure Ruby library and the other is a C library. Does the error >occurs in both? > > >Regards, > > Michael > > > Thanks for taking the time to answer, Michael I dont think it is DBI. Next to certain it is mysql-ruby. It does not pass the installation test. My host installed everything so it has been a struggle to figure that out . I did try to install ruby-mysql- and i get an error during install. (LoadError ) socket. I would not have relieved much pain anyway. I did hear from Tomita - author of the ruby-mysql and mysql-ruby... >>I'm sorry, I don't know why this error occured. I tried following environment, but it worked fine. Debian Ruby 1.8.1 MySQL/Ruby 2.4.5 MySQL 4.0.17 Please try to upgrade Ruby or MySQL. << I guess i could try that except the differences on the dedicated box i use is Redhat and MySQL is already a newer version. My host refuses to touch anything else "we've tried" and i cant blame them - even tho i'd like too :) Now, i'm caught in a conundrum. If i can not get mysql(w/dbi) to work - i'll have to go with postegres which i used for awhile on my other host, with a few mods. So i'll need to figure out a way to get the data from mysql to postgres and install it on the machine- along with the dbi -dbd for postgres. I'm having a little trouble getting excited about it. You know, i stuck with the dbi because i think it is more elegant than the rest - not so i could change dbs sometime down the road. Lucky me! I'm pretty wiped out and wistfully looking to the days of asp M$ - which my biz partner loudly suggested i stick to for this, fairly big, project - about 10 sites with content mgt. It's crow on the menu for me! Stick a fork in me Paul --------------060804000502000603080703--