Re: Unable to log into the database
From: Ken Tucker [MVP] (vb2ae_at_bellsouth.net)
Date: 10/01/04
- Next message: Vlad: "SQL for SP"
- Previous message: SerGioGio: "Re: DAO, Transactions, SQLServer"
- In reply to: Robert Bravery: "Unable to log into the database"
- Messages sorted by: [ date ] [ thread ]
Date: Fri, 1 Oct 2004 08:06:22 -0400
Hi,
There is a class on the mysql site for connection to a mysql with
.net. Try that.
http://dev.mysql.com/downloads/connector/net/1.0.html
Ken
-------------------------
"Robert Bravery" <me@u.com> wrote in message
news:%23CtRkl4pEHA.3324@TK2MSFTNGP15.phx.gbl...
Hi all,
I am using VS.net 2003, and VB. I am new to VB programming.
I am trying to connect to a database on a server on our network. There are
two databases one is Interbase, and the other is MYSQL. Both are being
accessed via odbc. I can open the connections in the server explorer connect
to the databases and view the tables. I can even view and retrieve data in
theserver explorer.
But when I try and connect to the databases in my application, I get an
error message "Unable to log into database", this is with Interbase, and
with mysql i get this errormessage "There were errors configuring the data
adapter."
Whether I try and drag the tables from the server explorer to the form, or
drag a dataadapter and dataconnection, and try and manual configure them, I
get theses error.
Now here is the strange thing. If I set up the databases locally, the
connections work perfectly in my app.
THis leads me to believe that it is a security iss. But I do not know where
to look, or what to look for. THe connection strings, userid, passwords are
exactly the same for both server and local machines. I am unaware of any
other security issue that need changing when designing a app and connecting
to a database.
THanks
Robert
- Next message: Vlad: "SQL for SP"
- Previous message: SerGioGio: "Re: DAO, Transactions, SQLServer"
- In reply to: Robert Bravery: "Unable to log into the database"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|