473,320 Members | 1,746 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,320 software developers and data experts.

Connection string

I am going to connect to the MySQL and Firebird database.
Is there any differenc in the connection string format from that of SQL
Server?
Jan 24 '07 #1
6 6584
Hi,

http://www.connectionstrings.com/

it's the ultimate!

HTH,
James.

On 24 Jan, 12:15, "Alan T" <alanpltseNOS...@yahoo.com.auwrote:
I am going to connect to the MySQL and Firebird database.
Is there any differenc in the connection string format from that of SQL
Server?
Jan 24 '07 #2
Hi,

"Alan T" <al*************@yahoo.com.auwrote in message
news:OA**************@TK2MSFTNGP03.phx.gbl...
|I am going to connect to the MySQL and Firebird database.
| Is there any differenc in the connection string format from that of SQL
| Server?

For sure yes, first of all you will have to connect to them using ODBC
whether to SQL server you connect using the OLEDB provider.
--
Ignacio Machin
machin AT laceupsolutions com
Jan 24 '07 #3
MySQL provides connector/.NET. These are a set of classes equivalent to the
SQL classes. So, for example, where you have SqlConnection for SQL Server,
you have MySqlConnection for MySQL. As long as you have used the correct
classes (i.e. the ones from connector/.NET) the code is practically
identical. I've added the connector/.NET classes to my toolbox in Visual
Studio, so I can drag and drop them onto a design surface in just the same
way, and configure their properties.

http://dev.mysql.com/downloads/connector/net/1.0.html

Don't know about firebird. Never used it.

HTH
Peter

"Ignacio Machin ( .NET/ C# MVP )" <machin TA laceupsolutions.comwrote in
message news:eM**************@TK2MSFTNGP04.phx.gbl...
Hi,

"Alan T" <al*************@yahoo.com.auwrote in message
news:OA**************@TK2MSFTNGP03.phx.gbl...
|I am going to connect to the MySQL and Firebird database.
| Is there any differenc in the connection string format from that of SQL
| Server?

For sure yes, first of all you will have to connect to them using ODBC
whether to SQL server you connect using the OLEDB provider.
--
Ignacio Machin
machin AT laceupsolutions com


Jan 24 '07 #4
Ignacio Machin ( .NET/ C# MVP ) wrote:
"Alan T" <al*************@yahoo.com.auwrote in message
news:OA**************@TK2MSFTNGP03.phx.gbl...
|I am going to connect to the MySQL and Firebird database.
| Is there any differenc in the connection string format from that of SQL
| Server?

For sure yes, first of all you will have to connect to them using ODBC
whether to SQL server you connect using the OLEDB provider.
????

You use SqlClient for SQLServer and MySQL Connector/.NET for MySQL.

Arne
Jan 25 '07 #5
Hi
"Arne Vajhøj" <ar**@vajhoej.dkwrote in message
news:45***********************@news.sunsite.dk...

| ????
|
| You use SqlClient for SQLServer and MySQL Connector/.NET for MySQL.

Yes, Now I know there is a data provider for MySQL, I had no idea it existed
before ;)
--
Ignacio Machin
machin AT laceupsolutions com
Jan 25 '07 #6
"Ignacio Machin \( .NET/ C# MVP \)" <machin TA laceupsolutions.com>
wrote:
"Alan T" <al*************@yahoo.com.auwrote in message
news:OA**************@TK2MSFTNGP03.phx.gbl...
|I am going to connect to the MySQL and Firebird database.
| Is there any differenc in the connection string format from that of SQL
| Server?

For sure yes, first of all you will have to connect to them using ODBC
whether to SQL server you connect using the OLEDB provider.
There is a .NET provider for Firebird too. The documentation contains
info on the connection strings, IIRC.

-- Barry

--
http://barrkel.blogspot.com/
Jan 25 '07 #7

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

17
by: AMC | last post by:
Hi, I'm using an include file to store the connection string to a database. Whenever I try to reference that string to open a connection in the page that includes the file I get the error 'empy...
0
by: Jay Douglas | last post by:
Hello, I'm trying to create a Data Links Property window that behaves just like the dialog box in Visual Studio .Net for MS Sql Server connections. I've found a lot of examples that use...
5
by: Matt | last post by:
Hello, What is the best way to handle the database connection string for a class library project that will be compiled and used as a .dll? This .dll will be accessed via classic ASP and in...
37
by: sam44 | last post by:
Hi, At startup the user log on and chooses the name of a client from a dropdownlist, which then changes dynamically the connection string (the name of the client indicates which database to use)....
1
by: Sankalp | last post by:
Hi, I am using VB 2005. My application has many data bound controls. The connection is stored in the app.config file. I want the application to start with a default connection string and while...
3
by: fniles | last post by:
In the Windows application (using VB.NET 2005) I use connection pooling like the following: In the main form load I open a connection using a connection string that I stored in a global variable...
6
Cintury
by: Cintury | last post by:
Hi all, I've developed a mobile application for windows mobile 5.0 that has been in use for a while (1 year and a couple of months). It was developed in visual studios 2005 with a back-end sql...
0
by: Robert Avery | last post by:
In VBA/VB6, I had a class (incomplete sample below) that watched and displayed for the user all connection events, so that I could easily see what SQL was taking a long time, and when it freezes, I...
2
by: Johnson | last post by:
I'm trying to fix a "sub optimal" situation with respect to connection string management. Your thoughtful responses will be appreciated. I just started with a new client who has a bunch of legacy...
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...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
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.