# Webrick very unstable with MySQL 5.0 on Windows

**URL:** <https://www.ruby-forum.com/t/webrick-very-unstable-with-mysql-5-0-on-windows/66032>\
**Category:** Rails\
**Created:** [February 12, 2006, 2:41am UTC](https://www.ruby-forum.com/t/webrick-very-unstable-with-mysql-5-0-on-windows/66032 "2006-02-12T02:41:08Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![rawktron](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/r/e95f7d/32.png) [@rawktron](https://www.ruby-forum.com/u/rawktron)\
**Post date:** [February 12, 2006, 2:41am UTC](https://www.ruby-forum.com/t/webrick-very-unstable-with-mysql-5-0-on-windows/66032/1 "2006-02-12T02:41:08Z")

</div>

So, install Ruby and gem and then read the wiki post about getting MySQL  
working and installed that mysql.so into the right dirs, and actually  
everything works fine. Except that it’s unstable - after maybe 4 or 5  
queries, Webrick will crash with a segmentation fault in basically a  
random module - never the same spot.

Anyone got any suggestions? Is it just the mysql.so - does it need to be  
compiled on this machine maybe?

Thanks.

---

<div class="post-metadata">

**Author:** ![rawktron](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/r/e95f7d/32.png) [@rawktron](https://www.ruby-forum.com/u/rawktron)\
**Post date:** [February 12, 2006, 2:34pm UTC](https://www.ruby-forum.com/t/webrick-very-unstable-with-mysql-5-0-on-windows/66032/2 "2006-02-12T14:34:24Z")

</div>

Yes it is known issue with old mysql.so module with latest versions of  
MySQL.

Try mysql.so that I have compiled for mysql 5.0.15  
[http://pomozov.info/opensource.php#mysql\_ruby](http://pomozov.info/opensource.php#mysql_ruby)

On 2/12/06, rawktron [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid) wrote:

> So, install Ruby and gem and then read the wiki post about getting MySQL  
> working and installed that mysql.so into the right dirs, and actually  
> everything works fine. Except that it’s unstable - after maybe 4 or 5  
> queries, Webrick will crash with a segmentation fault in basically a  
> random module - never the same spot.
> 
> Anyone got any suggestions? Is it just the mysql.so - does it need to be  
> compiled on this machine maybe?

–  
anatol ([http://pomozov.info](http://pomozov.info))

---

<div class="post-metadata">

**Author:** ![rawktron](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/r/e95f7d/32.png) [@rawktron](https://www.ruby-forum.com/u/rawktron)\
**Post date:** [February 12, 2006, 7:11pm UTC](https://www.ruby-forum.com/t/webrick-very-unstable-with-mysql-5-0-on-windows/66032/3 "2006-02-12T19:11:23Z")

</div>

Anatol P. wrote:

> Yes it is known issue with old mysql.so module with latest versions of  
> MySQL.
> 
> Try mysql.so that I have compiled for mysql 5.0.15  
> [http://pomozov.info/opensource.php#mysql\_ruby](http://pomozov.info/opensource.php#mysql_ruby)

Thanks man. Worked like a charm! This should be added to a FAQ somewhere  
and linked for us newbies.

Thanks again.
