Microsoft Access Development
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
 
User Name:
Password:
Remember me
 
Go Back   Dev Articles Community ForumsDatabasesMicrosoft Access Development

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Display Modes
 
Unread Dev Articles Community Forums Sponsor:
Stay one step ahead of the competition. Evaluate and give feedback on some of the hottest web development tools on the market today. Make your opinion heard! Click Here
  #1  
Old April 30th, 2002, 07:14 PM
arthurparker arthurparker is offline
Junior Member
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Apr 2002
Posts: 13 arthurparker User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Access Denied

I am using a connection string to connect to a database. Here is the connection:

oConn.Open "Driver={mySQL};Server=ap;Port=3306;Option=0;Databa se=mydata;Uid=admin;Pwd=;"'

The user name and password are correct, but I have no idea why it won't let me view the record I want. Here is the error I get:

Error Type:
Microsoft OLE DB Provider for ODBC Drivers (0x80004005)
[TCX][MyODBC]Access denied for user: 'ap@24.55.240.159' (Using password: YES)

Any help will be greatly appreciated,
AP

Reply With Quote
  #2  
Old April 30th, 2002, 09:26 PM
infamous-online infamous-online is offline
Moderator
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Apr 2002
Posts: 404 infamous-online User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 1 Day 24 m 44 sec
Reputation Power: 7
hmmm on server change that to localhost and see if that helps. also remove the password and it should work.
__________________
Apache Expert

Reply With Quote
  #3  
Old May 1st, 2002, 01:23 AM
mytch mytch is offline
Dev Articles Novice (500 - 999 posts)
 
Join Date: Apr 2002
Location: Sydney, Australia
Posts: 589 mytch User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 7
You may need an entry in the mysql.hosts table. By default, only localhost has access to mysql, so you need to grant capabilities to the PC trying to access it.

see thes links for more info:

http://www.mysql.com/doc/A/d/Adding_users.html
http://www.mysql.com/doc/G/R/GRANT.html
http://www.bugzilla.org/docs/html/granttables.html

Reply With Quote
  #4  
Old May 1st, 2002, 04:12 PM
arthurparker arthurparker is offline
Junior Member
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Apr 2002
Posts: 13 arthurparker User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Talking excellent!!!!!!!!!!!!

Thank you so much, now I can get the website online!

AP

Reply With Quote
  #5  
Old May 2nd, 2002, 12:50 PM
infamous-online infamous-online is offline
Moderator
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Apr 2002
Posts: 404 infamous-online User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 1 Day 24 m 44 sec
Reputation Power: 7
Talking

so who helped you out me or mytch or both

Reply With Quote
Reply

Viewing: Dev Articles Community ForumsDatabasesMicrosoft Access Development > Access Denied


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 6 hosted by Hostway