# IronRuby MySQL/ADO.NET wrapper

**URL:** <https://www.ruby-forum.com/t/ironruby-mysql-ado-net-wrapper/132717>\
**Category:** IronRuby\
**Created:** [March 24, 2008, 12:17am UTC](https://www.ruby-forum.com/t/ironruby-mysql-ado-net-wrapper/132717 "2008-03-24T00:17:09Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Brian\_Blackwell](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/b/c4cdca/32.png) [@Brian\_Blackwell](https://www.ruby-forum.com/u/Brian_Blackwell)\
**Post date:** [March 24, 2008, 12:17am UTC](https://www.ruby-forum.com/t/ironruby-mysql-ado-net-wrapper/132717/1 "2008-03-24T00:17:09Z")

</div>

Hi all,

If anyone is interested, I have knocked up a prototype for an IronRuby  
wrapper over MySQL Connector/NET (the MySQL [ADO.NET](http://ADO.NET) driver) that  
implements the Ruby-MySQL interface. The idea is that this should be  
able to function as a drop-in replacement for either the native or pure  
Ruby MySQL drivers, thus allowing you to run things like ActiveRecord  
without modification. There are still a number of methods that I haven’t  
yet implemented, but you can at least connect to a database and perform  
queries.

Regards  
Brian Blackwell

---

<div class="post-metadata">

**Author:** ![Brian\_Blackwell](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/b/c4cdca/32.png) [@Brian\_Blackwell](https://www.ruby-forum.com/u/Brian_Blackwell)\
**Post date:** [March 25, 2008, 3:09pm UTC](https://www.ruby-forum.com/t/ironruby-mysql-ado-net-wrapper/132717/2 "2008-03-25T15:09:50Z")

</div>

This looks awesome. Do you know of the [ADO.NET](http://ADO.NET) driver runs on top of  
Mono? I know that the SQL Server [ADO.NET](http://ADO.NET) driver contains a large amount  
of unmanaged code that prevents it from running on Mono.

Thanks,  
-John

---

<div class="post-metadata">

**Author:** ![Brian\_Blackwell](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/b/c4cdca/32.png) [@Brian\_Blackwell](https://www.ruby-forum.com/u/Brian_Blackwell)\
**Post date:** [March 25, 2008, 3:44pm UTC](https://www.ruby-forum.com/t/ironruby-mysql-ado-net-wrapper/132717/3 "2008-03-25T15:44:51Z")

</div>

2008/3/25, John L. (DLR) [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid):

> This looks awesome. Do you know of the [ADO.NET](http://ADO.NET) driver runs on top of Mono? I know that the SQL Server [ADO.NET](http://ADO.NET) driver contains a large amount of unmanaged code that prevents it from running on Mono.

FYI, Mono ships with fully managed [ADO.NET](http://ADO.NET) provider for PostgreSQL,  
which runs on [MS.NET](http://MS.NET) too.  
[http://www.mono-project.com/PostgreSQL](http://www.mono-project.com/PostgreSQL)
