mysql error on server

I just updated to Rails 2.2.2 from 1.2.6 yesterday. Today I
reinstalled the mysql gem. Now when I try to run script/server the
server starts, but when I try to access my database in a browser
window get the following error:

dyld: lazy symbol binding failed: Symbol not found: _mysql_init
  Referenced from: /Library/Ruby/Gems/1.8/gems/mysql-2.7/lib/
mysql.bundle
  Expected in: dynamic lookup

dyld: Symbol not found: _mysql_init
  Referenced from: /Library/Ruby/Gems/1.8/gems/mysql-2.7/lib/
mysql.bundle
  Expected in: dynamic lookup

Trace/BPT trap

Any suggestions would be most appreciated.

Thanks!

I'm getting the error after installing the mysql gem for rails 2.2.2 to
work, where all MySQL worked fine prior to this upgrade. Would this be
your suggestion even though MySQL was working prior to the mysql gem
installation?

“These money I was making from these applications is how I was going to afford college.”

I find this hard to believe. (still sucks if you ran step 10, though.)

If you don’t do much since the delete there might be some recovery tools you can use to get some stuff back.

First off I apologize for my language but I'm sure you can understand
how frustrated I was.

@Rick
I tried data recovery tools but they couldn't find anything; all my
files were completely gone. I had to reinstall leopard but thanks for
the advice anyway.

And the moral, which we all learn the hard way at least once in our
careers, is always have a backup. If there is a problem with the
backup system so backup is not possible then fixing that is more
important than continuing development.
Also check that the backup is actually working correctly by
occasionally doing a restore, in particular after any changes to the
backup system.

Little consolation now I know. Most of us have been there, those that
have not probably will at some point.

Colin

jabauer wrote:

I just updated to Rails 2.2.2 from 1.2.6 yesterday. Today I
reinstalled the mysql gem. Now when I try to run script/server the
server starts, but when I try to access my database in a browser
window get the following error:

dyld: lazy symbol binding failed: Symbol not found: _mysql_init
  Referenced from: /Library/Ruby/Gems/1.8/gems/mysql-2.7/lib/
mysql.bundle
  Expected in: dynamic lookup

dyld: Symbol not found: _mysql_init
  Referenced from: /Library/Ruby/Gems/1.8/gems/mysql-2.7/lib/
mysql.bundle
  Expected in: dynamic lookup

Trace/BPT trap

Any suggestions would be most appreciated.

Thanks!

Please don't use this article, you will lose your data / files.
I uses this article on my mac and have lost everything.

Why this Article is here, there is no warning.
Is it not possible to remove this article?

Raj Goyal wrote:

Raj Goyal wrote:

Why this Article is here, there is no warning.
Is it not possible to remove this article?

Probably not. This forum is just a mirror of a mailing list.

Best,

Which article? I don't see any article referenced in your post.

Colin