Re: VB.NET MySQL Connection String
Posted by: Cybler.Demo
Date: January 26, 2005 06:36AM

I have problems with connecting to MySQL database.

Following combinations that i tried:

- string sConnection = "database=mydb;data source=localhost;
user id=user;password=xxx";

- string sConnection = "server=localhost;user id=user; password=xxx;
database=mydb";


Following info about MySQL database:

- instance: MySQL
- hostname: localhost
- database: mydb
- port: 3308
- user: user
- pw: xxx

I tried with the example program (from connector net 1.0.4) but i always get
the same error message: "Unable to connect to any of the specified MySQL hosts".

Can someone help?

Options: ReplyQuote


Subject
Written By
Posted
Re: VB.NET MySQL Connection String
January 26, 2005 06:36AM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.