473,323 Members | 1,560 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,323 software developers and data experts.

C#.NET mysql ,net connector

chathura86
227 100+
i have seen that the mysql .net connector is a very easy way to connect
.net

but i have a small problem

when i crate a application with that does the client need to have installed that too
if so is there a way to include that also so the user will not
require to install it separately.

regards
chathura bamunusinghe
Feb 5 '09 #1
3 3306
Frinavale
9,735 Expert Mod 8TB
If your application uses a database, that database must exist on the client's computer....unless your application connects to a remote database that you're hosting.

So, yes, you have to ensure that the user has the database installed upon deployment. You should create the installation program that checks that this prerequisite is met before it attempts to deploy your application. You should also include scripts that your install can run which will create your database tables.
Feb 5 '09 #2
chathura86
227 100+
sorry think i have explain it in a wrong way.
no im not talking about the database, it is the mysql .net connector im talking about. i just want to know that if i shift the application to client pc with the
MySql.Data.dll will that be enough to to connect my application to mysql database or does he have to install the mysql .net connector

i mean this:
http://dev.mysql.com/downloads/connector/net/5.2.html

Regards.
Feb 5 '09 #3
Frinavale
9,735 Expert Mod 8TB
Any third party connectors will have to be installed when your application is installed.

Because the connector you've chosen to use is not native to the .NET framework, you will have to package this with your application and make sure that it is installed in order for it to work.
Feb 5 '09 #4

Sign in to post your reply or Sign up for a free account.

Similar topics

0
by: bunnytail | last post by:
Hi All, I am making a Java Applet connects to mysql database, it works well in application mode. When I run it in applet mode, obviously the client running the applet should have the mysql...
3
by: JJ | last post by:
I am a newbie to mySQL. I am developing an ASP .net Web site with mySQL as the database (of products), using vb .net 2003. Can anyone point me in the direction of a good book (or in fact ANY book)...
4
by: Tracey | last post by:
I have a Mysql database hosted on a remote server. Previously, I could always connect to those databases using the 3.51 ODBC connector and linking the tables in Access. The benefit of this is that...
5
by: =?Utf-8?B?RGVubmlz?= | last post by:
I have installed MySql and am trying to use it in VB.Net 2003 using the MyOleDb driver. However, from all I can find, MyOleDb only works on VB.Net 2005. Does anyone know if this is correct or is...
14
by: Frank Rizzo | last post by:
I've been given a project to work with which involves connecting to MySQL from .NET 2.0 app. I've googled looked and there is a metric ton of different MySQL ADO.NET providers from different...
2
by: Vague | last post by:
Hello There, I've recently been working on a large project, very database driven, in C# on windows systems, calling a MySQL database on a linux box. The project is going very well. Except that...
3
by: Vague | last post by:
Hello There, I've recently been working on a large project, very database driven, in C# on windows systems, calling a MySQL database on a linux box. The project is going very well. Except that...
1
by: sethupnr | last post by:
when i'm using a simple JSP-mysql code it shows some HTTP status 500 error.But simple JSP program without databse is running , Please help how to solve this problem. I'm new to JSP. my...
6
by: shivapadma | last post by:
i want to access mysql database server from jsp program for this i downloaded mysql-connector-java-3.1.14.zip mysql-connector-java-3.1.14 folder contains mysql-connector-java-3.1.14-bin.jar...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
1
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.