LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Enterprise Linux Forums > Linux - Enterprise
User Name
Password
Linux - Enterprise This forum is for all items relating to using Linux in the Enterprise.

Notices


Reply
  Search this Thread
Old 01-13-2005, 03:40 AM   #1
areeh
LQ Newbie
 
Registered: Jan 2005
Location: Manila
Posts: 2

Rep: Reputation: 0
Accessing and Updating MySql on Redhat Linux v9 FROM .Net application on WIN2K


Hi to all!

I have this situation in the office, wherein the management would like to include both Windows 2k and Linux Redhat v.9 in the network. A web application to be written in DotNet (C#/ASP.net) will access and update the MySQL database which resides on the Linux box. Is this possible? If yes., what are the things to be done?? If no, any work arounds that can be of help?


I will appreciate your replies on this matter.

THanks


Areeh.
 
Old 01-13-2005, 06:17 AM   #2
ludmil
LQ Newbie
 
Registered: Jan 2005
Location: Sofia
Posts: 2

Rep: Reputation: 0
Hi areeh,

1. Download the ODBC .NET Data Provider from:
http://download.microsoft.com/downlo...S/odbc_net.msi

2. Download MySql ODBC driver for Windows from:
http://dev.mysql.com/downloads/connector/odbc/3.51.html

3. Install the above two on the Windows machine

4. Make sure your Linux box running MySql would allow access from your Windows machine's IP on the TCP port MySql listens on.

5. Specify your Linux box IP address or NetBIOS name in the connection string for the OdbcDataProvider
 
Old 01-13-2005, 06:57 AM   #3
ludmil
LQ Newbie
 
Registered: Jan 2005
Location: Sofia
Posts: 2

Rep: Reputation: 0
A better and more detailed description on how to access MySql from .NET can be found here:
http://dev.mysql.com/tech-resources/articles/dotnet/

sample code included
 
Old 01-13-2005, 08:36 PM   #4
areeh
LQ Newbie
 
Registered: Jan 2005
Location: Manila
Posts: 2

Original Poster
Rep: Reputation: 0
Hi ludmil!! THanks for the help... I appreciate it!!!

I will try it right away and work on it...



Regards,

Areeh
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
asp.net and mysql on linux montylee Programming 0 02-05-2004 04:24 AM
Web Application on RedHat 7.3 with tomcat4.1 and db mysql Mikil Linux - Software 5 11-08-2003 11:37 AM
Need HELP: Win2K Server / RedHat Linux 9 loipt Linux - Networking 0 07-11-2003 05:57 AM
Wanted to Run Linux Application on Win2k ishwar Linux - Networking 4 10-23-2002 09:41 PM
(linux newbie) Win2k and Redhat 7.1 tomaz Linux - Software 7 08-23-2001 09:10 PM

LinuxQuestions.org > Forums > Enterprise Linux Forums > Linux - Enterprise

All times are GMT -5. The time now is 04:26 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration