Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

conecting to phpMySQLAdmin in Webserver database from VB6

Posted on 2004-10-13
6
Medium Priority
?
202 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

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

If you have ever used Microsoft Word then you know that it has a good spell checker and it may have occurred to you that the ability to check spelling might be a nice piece of functionality to add to certain applications of yours. Well the code that…
Background What I'm presenting in this article is the result of 2 conditions in my work area: We have a SQL Server production environment but no development or test environment; andWe have an MS Access front end using tables in SQL Server but we a…
Get people started with the process of using Access VBA to control Outlook using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Microsoft Outlook. Using automation, an Access applic…
Show developers how to use a criteria form to limit the data that appears on an Access report. It is a common requirement that users can specify the criteria for a report at runtime. The easiest way to accomplish this is using a criteria form that a…
Suggested Courses

971 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