473,403 Members | 2,284 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,403 software developers and data experts.

Connecting to Mysql via ODBC 5.0

Good Day to everyone.. please help me how to connect to MYSQL 5.0. I am using
the connection string.
I installed the ODBC MySQL Connector/ODBC v5.

my connecstring

------------------
dbcon.ConnectionString = "DRIVER={MySQL ODBC 5.0 Driver};" _
& "SERVER=" & servername & _
";DATABASE=" & dbname & _
";UID=rlp;PWD=rlp; OPTION=3"
----------------
where
servername is myservername and dbname is my databasename i created in
MySQL.. it says that my data source not found and no default driver
specified.

but when i connect using ODBC 3.51 theres no problem.. is there any way i
can connect to ODBC using v5 connector... i am using visual c# nad running
under windows XP Pro.
--
Thanks
Regards.
Josema
Feb 21 '06 #1
2 1603
Hello Josema,

Have u tried to look there http://dev.mysql.com/doc/refman/5.0/...connector.html
?

J> Good Day to everyone.. please help me how to connect to MYSQL 5.0. I
J> am using the connection string. I installed the ODBC MySQL
J> Connector/ODBC v5.
J>
J> my connecstring
J>
J> ------------------ dbcon.ConnectionString = "DRIVER={MySQL ODBC 5.0
J> Driver};" _ & "SERVER=" & servername & _ ";DATABASE=" & dbname & _
J> ";UID=rlp;PWD=rlp; OPTION=3" ---------------- where servername is
J> myservername and dbname is my databasename i created in MySQL.. it
J> says that my data source not found and no default driver specified.
J>
J> but when i connect using ODBC 3.51 theres no problem.. is there any
J> way i can connect to ODBC using v5 connector... i am using visual c#
J> nad running under windows XP Pro.
J>
---
WBR,
Michael Nemtsev :: blog: http://spaces.msn.com/laflour

"At times one remains faithful to a cause only because its opponents do not
cease to be insipid." (c) Friedrich Nietzsche
Feb 21 '06 #2
Hello Josema,

Or look there http://dev.mysql.com/tech-resources/articles/dotnet/

J> Good Day to everyone.. please help me how to connect to MYSQL 5.0. I
J> am using the connection string. I installed the ODBC MySQL
J> Connector/ODBC v5.
J>
J> my connecstring
J>
J> ------------------ dbcon.ConnectionString = "DRIVER={MySQL ODBC 5.0
J> Driver};" _ & "SERVER=" & servername & _ ";DATABASE=" & dbname & _
J> ";UID=rlp;PWD=rlp; OPTION=3" ---------------- where servername is
J> myservername and dbname is my databasename i created in MySQL.. it
J> says that my data source not found and no default driver specified.
J>
J> but when i connect using ODBC 3.51 theres no problem.. is there any
J> way i can connect to ODBC using v5 connector... i am using visual c#
J> nad running under windows XP Pro.
J>
---
WBR,
Michael Nemtsev :: blog: http://spaces.msn.com/laflour

"At times one remains faithful to a cause only because its opponents do not
cease to be insipid." (c) Friedrich Nietzsche
Feb 21 '06 #3

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

Similar topics

0
by: Google Mike | last post by:
After a lot of thought and research, and playing with FreeTDS and InlineTDS, as well as various ODBC connections, I have determined that the fastest and cheapest way to get up and going with PHP on...
0
by: Gilbert Wu | last post by:
Hi, I've set up a ODBC DSN to connect to Mysql. This DSN works fine with MS = Excel. However, it returned the following error when I tried to link = some Mysql tables from Access 2000: ...
3
by: kamilla | last post by:
I have a mysql 3.5 server installed on a suse linux 8.1, with address 10.0.0.100. Now I want to access that db from a W2K pc, address 10.0.0.200. I am able to ping 10.0.0.100, but I cannot connect...
2
by: s5034454 | last post by:
Hello, I'm trying to connect to a mysql database. I have already taken these steps: 1) downloaded and installed odbc_net.msi 2) downloaded and installed mdac_typ.exe (mdac 2.7 or something) 3)...
3
by: Jeremy Dillinger | last post by:
I am trying to design a program that will use data from a MySQL database. Currently all the data is being used with PHP scripts from a website. I am also trying to build a software solution that...
3
by: Mike | last post by:
I have transferred the data from Access to MySQL using MySQL's tool. The transfer worked great and saved me a lot of time (thanks MySQL). Now I'm trying to get the Access database, or a new access...
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...
3
by: Paradox Synthesist | last post by:
hi, i am a newbie to asp.net and have started learning mainly from websites. i have a question which IS very silly and trivial. ...
5
by: WPW07 | last post by:
Hello, I've installed the ODBC connector for MySQL and can go into Access and manually link to the MySQL tables. Everything works fine this way. But rather than go into the Windows Data...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 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 a new...

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.