If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > Database Server Software > MySQL > Remote connection using ODBC

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 03-08-04, 12:28
Carlos Rocha Carlos Rocha is offline
Registered User
 
Join Date: Mar 2004
Location: Portugal
Posts: 3
Unhappy Remote connection using ODBC

Hi all,
I can connect to a MySQL DB in my home server (using a DNS with DynDns.org), but I'cant connect to the DB located in my hosting provider using the same ODBC driver (3.51). I use 'carlos' as login and a password.
I always get the error:

[MySQL][ODBC 3.51 Driver] Access denied for user: 'carlos@c-217-70-73-156.bragatel.pt' [Using password:YES]

217.70.73.156 is my IP (dynamic). How can I handle this?

Any help will be appreciated. Thanks (i'm a noobie)
Reply With Quote
  #2 (permalink)  
Old 03-08-04, 12:46
watchachi watchachi is offline
Registered User
 
Join Date: Jan 2004
Posts: 17
Did you set your login to access from any IP?

Like this:

Carlos@%

cuz the default, when you create a login is to set
the login to access only from the server(localhost).

Carlos@localhost

So, you have to create a "@%" (all ip) login.

Espero que tenha ajudado.
Reply With Quote
  #3 (permalink)  
Old 03-08-04, 13:36
Carlos Rocha Carlos Rocha is offline
Registered User
 
Join Date: Mar 2004
Location: Portugal
Posts: 3
Obrigado. Ajudou sim

I created a host with % and it works now. Is it dangerous? should I create the host @% instead?
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On