[Mono-list] Creating a simple apps that connect to Mysql
Daniel Morgan
danmorg@sc.rr.com
Fri, 1 Nov 2002 18:51:57 -0500
On Linux:
mcs MySqlTest.cs -r System.Data.dll -r Mono.Data.MySql.dll
If you get compile errors about converting from IDbConnection to
MySqlConnection or vice-versa, you can try:
mono $HOME/mono/install/bin/mcs.exe MySqlTest.cs -r System.Data.dll -r
Mono.Data.MySql.dll
Oh, sorry about the MySQL installation instructions, I guess I was in
"support" mode. You know, ask the customer "1. Is your computer on? 2. Is
it plugged in? Do you see the Start button?".
Have a nice day! :-)
-----Original Message-----
From: Ariel Rios [mailto:ariel@gnu.org]
Sent: Friday, November 01, 2002 7:13 PM
To: Daniel Morgan
Cc: Mono-List; ravi@ximian.com
Subject: RE: [Mono-list] Creating a simple apps that connect to Mysql
On Fri, 2002-11-01 at 12:21, Daniel Morgan wrote:
> In mcs/class/Mono.Data.MySql/Test you will find some little test programs.
>
> For build MySqlTest.cs on Windows, do:
> $ mono c:/cygwin/home/danmorg/mono/install/bin/mcs.exe MySqlTest.cs -r
> System.Data.dll -r Mono.Data.MySql.dll
Is this the same case for compiling under Linux?
> For setting up MySQL, best to read the MySQL docs
>
http://www.mysql.com/documentation/mysql/bychapter/manual_Installing.html#In
> stalling
>
Ah yes... I suppose that only a normal Mysql installation is required...
> Remember: Mono is in heavy development right now, it is not ready for
> production.
Yep me knows. Just want to take a look unto the future.
=)
ariel