Solved

conecting to phpMySQLAdmin in Webserver database from VB6

Posted on 2004-10-13
6
193 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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

PeopleSoft Has Never Been Easier

PeopleSoft Adoption Made Smooth & Simple!

On-The-Job Training Is made Intuitive & Easy With WalkMe's On-Screen Guidance Tool.  Claim Your Free WalkMe Account Now

Question has a verified solution.

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

I’ve seen a number of people looking for examples of how to access web services from VB6.  I’ve been using a test harness I built in VB6 (using many resources I found online) that I use for small projects to work out how to communicate with web serv…
Introduction In a recent article (http://www.experts-exchange.com/A_7811-A-Better-Concatenate-Function.html) for the Excel community, I showed an improved version of the Excel Concatenate() function.  While writing that article I realized that no o…
As developers, we are not limited to the functions provided by the VBA language. In addition, we can call the functions that are part of the Windows operating system. These functions are part of the Windows API (Application Programming Interface). U…
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…
Suggested Courses
Course of the Month8 days, 3 hours left to enroll

617 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