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

ADO DNS-LESS Connetion

I am trying to use VB/ADO to connect MySQL. I download MyOLEDB and
install the on the machine.

But it keep showing "MySQL DataSource Name Setup" dialog. How can get
away with it?

Following are the code:

cnn.ConnectionString =
"Provider=MySQLProv;Server=localhost;DB=mydb;U ser Id=root;password="
cnn.Open

THX

John
Jul 19 '05 #1
2 3384
I found out how: the connect string should say "Data Source='server=....'"

qj****@wowway.com (Q. John Chen) wrote in message news:<89**************************@posting.google. com>...
I am trying to use VB/ADO to connect MySQL. I download MyOLEDB and
install the on the machine.

But it keep showing "MySQL DataSource Name Setup" dialog. How can get
away with it?

Following are the code:

cnn.ConnectionString =
"Provider=MySQLProv;Server=localhost;DB=mydb;U ser Id=root;password="
cnn.Open

THX

John

Jul 19 '05 #2
I found out how: the connect string should say "Data Source='server=....'"

qj****@wowway.com (Q. John Chen) wrote in message news:<89**************************@posting.google. com>...
I am trying to use VB/ADO to connect MySQL. I download MyOLEDB and
install the on the machine.

But it keep showing "MySQL DataSource Name Setup" dialog. How can get
away with it?

Following are the code:

cnn.ConnectionString =
"Provider=MySQLProv;Server=localhost;DB=mydb;U ser Id=root;password="
cnn.Open

THX

John

Jul 19 '05 #3

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

Similar topics

11
by: GriffithsJ | last post by:
I have a series of websites, let's call them "customer1.mydomain.co.uk" --> "customer200.mydomain.co.uk". Each URL is bound to an individual IP address which can be resolved using nslookup. ...
9
by: Leigh | last post by:
Hi, Is it possible to interface with the DNS Server to create and delete records? I trying to create a utility that will create (A) Host records automatically. Any information, help or examples...
7
by: Roger Bavaud | last post by:
Hello Does anybody know, how I can create new Recorts in a DNS Server from an ASP.Net Application? I will build this on a Web managemant site. Thanks & Best Regards Roger
2
by: David Arden Stevensonn | last post by:
On 'sub1.othercompany.com' there is a simple php file with an include that calls a script on my company's server 'sub2.mycompany.com' The script on my company's server seems to work fine when I...
4
by: MSNews | last post by:
I get the following exception when calling Dns.GetHostName (from C#): An unhandled exception of type 'System.Net.Sockets.SocketException' occurred in system.dll Additional information: An...
7
by: kvnsdr | last post by:
I can type an IP address and receive Internet domain name and my workstation name however no other IPs of computers on our internal network will resolve to a thier machine name only to the same IP...
9
by: Michael | last post by:
Hi, I am trying to create a CName record on my DNS server. Seems like it should be easy. I am using WMI. I have created a test asp.net page and put the code in the code behind. The DNS server...
1
by: Screenbert | last post by:
I have a web page that displays and creates DNS entries. It displays DNS entries if they exist for certain IP ranges. (Usually about 20 IP address at a time) If a DNS entry needs to be created then...
0
by: HandleX609 | last post by:
http://i103.photobucket.com/albums/m135/handlex/RandomPhotos/Buttsex_to-Korn.jpg This is the snapshot stating the event for a certain zone. ...
5
by: =?Utf-8?B?UVNJRGV2ZWxvcGVy?= | last post by:
I am trying to get the DNS name of an arbitrary IP address on the network. If I use GetHostEntry as the documentation suggests I only get the name of the machine I am running the code on. All...
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...
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...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
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: 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...

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.