# RESOLVED: Re: NameError (uninitialized constant Mysql)

**URL:** <https://www.ruby-forum.com/t/resolved-re-nameerror-uninitialized-constant-mysql/99740>\
**Category:** Rails\
**Created:** [July 25, 2006, 7:10am UTC](https://www.ruby-forum.com/t/resolved-re-nameerror-uninitialized-constant-mysql/99740 "2006-07-25T07:10:19Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Rajesh\_GS](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/r/5e9695/32.png) [@Rajesh\_GS](https://www.ruby-forum.com/u/Rajesh_GS)\
**Post date:** [July 25, 2006, 7:10am UTC](https://www.ruby-forum.com/t/resolved-re-nameerror-uninitialized-constant-mysql/99740/1 "2006-07-25T07:10:19Z")

</div>

Hi all

I had asked the group about the error: NameError (uninitialized constant  
Mysql) appearing on the localhost since last few days.

I was using Webrick for testing. I installed RubyForApache module, which  
installed mysql.so along with that. It wasnt successful even after  
following documentation/tutorials word-by-word.

Anyway, the bottom line is : I uninstalled RubyForApache and everything  
is fine 🙂

May this help if any of you have encountered this problem.

Cheers  
Rajesh
