Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Ruby > mysql problem after upgrade to 5.0

Reply
Thread Tools

mysql problem after upgrade to 5.0

 
 
Kem Mason
Guest
Posts: n/a
 
      01-24-2007

I'm posting this as an FYI -- for other people who might encounter the
same problem -- I couldn't find any clear instructions on how to resolve
it.

I upgraded from mysql 4.1 to 5.0, at which point 2 different errors
occured:

error while trying to create table customers; Could not load driver
(libmysqlclient.so.14: cannot open shared object file: No such file or
directory - /usr/lib64/site_ruby/1.8/x86_64-linux/mysql.so)

and:
Errno::ENOENT in SearchController#search

No such file or directory - /tmp/mysql.sock

the solution was to install the latest ruby code -- in my case (fedora)

yum upgrade ruby*

did the trick.

--
Posted via http://www.ruby-forum.com/.

 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Re: How to insert PDF file in to MySql and read it from MySql toJAVA App Jeffrey H. Coffield Java 1 07-24-2009 12:29 AM
MySQL-python-1.2.2 install with no mysql washakie Python 4 01-15-2008 08:15 PM
"mysql.h: No such file or directory" when building MySQL-python francescomoi@europe.com Python 2 05-11-2005 03:12 PM
DBD:mysql doesn't read mysql option file /etc/my.cnf file JL Perl 0 01-28-2005 03:19 AM
"Pure Python" MySQL module like Net::MySQL Ravi Python 6 07-21-2003 06:53 PM



Advertisments