Solved

conecting to phpMySQLAdmin in Webserver database from VB6

Posted on 2004-10-13
6
185 Views
Last Modified: 2008-02-01
Run time error -2147467259
[MySQL][ODBC 3.51 Driver]Access denied for user:
'username@xx.xx.xx.xx'(using password: YES)

while i tried to connect to my webserver database i found this error.

but in connection string i gave only the username. (without IP address)

how to solve this problem to connect webdatabase?
0
Comment
Question by:Viji4u
  • 2
6 Comments
 
LVL 10

Expert Comment

by:anv
ID: 12295976
try this..

http://www.able-consulting.com/MDAC/ADO/Connection/MSRemote.htm#MSRemoteAccess

try  using RDO if it doesnto work...else
0
 
LVL 10

Expert Comment

by:anv
ID: 12295986
also try this

Dim conn As ADODB.Connection
Set conn = New ADODB.Connection

conn.ConnectionString = "DRIVER={MySQL ODBC 3.51 Driver};" _
            & "SERVER=127.0.0.1;" _
            & "DATABASE=test;" _
            & "UID=testuser;" _
            & "PWD=12345;" _
            & "OPTION=" & 1 + 2 + 8 + 32 + 2048 + 16384

conn.CursorLocation = adUseClient
conn.Open
0
 

Author Comment

by:Viji4u
ID: 12305559
i tried the same.....

but this is the error message

Run time error -2147467259
[MySQL][ODBC 3.51 Driver]Access denied for user:
'username@xx.xx.xx.xx'(using password: YES)
0
 

Accepted Solution

by:
modulo earned 0 total points
ID: 12752490
PAQed with points refunded (50)

modulo
Community Support Moderator
0

Featured Post

Active Directory Webinar

We all know we need to protect and secure our privileges, but where to start? Join Experts Exchange and ManageEngine on Tuesday, April 11, 2017 10:00 AM PDT to learn how to track and secure privileged users in Active Directory.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Introduction While answering a recent question (http://www.experts-exchange.com/Q_27402310.html) in the VB classic zone, I wrote some VB code in the (Office) VBA environment, rather than fire up my older PC.  I didn't post completely correct code o…
Have you ever wanted to restrict the users input in a textbox to numbers, and while doing that make sure that they can't 'cheat' by pasting in non-numeric text? Of course you can do that with code you write yourself but it's tedious and error-prone …
Get people started with the process of using Access VBA to control Excel using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Excel. Using automation, an Access application can laun…
Get people started with the utilization of class modules. Class modules can be a powerful tool in Microsoft Access. They allow you to create self-contained objects that encapsulate functionality. They can easily hide the complexity of a process from…

828 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question