Re: VB.NET MySQL Connection String
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?
Subject
Written By
Posted
November 08, 2004 08:17PM
November 09, 2004 11:21AM
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.