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 > problem to connect to remote mysql server with odbc

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 02-27-05, 09:19
kfir kfir is offline
Registered User
 
Join Date: Mar 2004
Posts: 13
problem to connect to remote mysql server with odbc

hi

I have problem to connect by linux computer with odbc driver to remote server.

my odbcinst.ini files:

[MySql]
Description =
Driver = /usr/local/lib/libmyodbc3_r.so
Setup = /usr/local/lib/libodbcmyS.so
FileUsage = 1
CPTimeout =
CPReuse =

my odbc.ini file:
[ODBC Data Sources]
myodbc = MySQL ODBC 2.50 Driver DSN
#myodbc3 = MySQL ODBC 3.51 Driver DSN
SmartFmc = MySQL ODBC 3.51 Driver DSN
[myodbc]
Driver = /usr/local/lib/libmyodbc.so
Description = MySQL ODBC 2.50 Driver DSN
SERVER = localhost
PORT =
USER = root
Password =
Database = test
OPTION = 3
SOCKET =

[myodbc3]
#Driver = /usr/local/lib/libmyodbc3.so
Driver= MySql
Description = MySQL ODBC 3.51 Driver DSN
SERVER = localhost
PORT =
USER = root
Password =
Database = test
OPTION = 3
SOCKET =

[SmartFmc]
DSN=SmartFmc
Description = SmartFMC
#Driver = /usr/local/lib/libmyodbc3_r.so
Driver = MySql
Server = 192.168.0.116
Database = SmartFmc
Port =
User = dev
Password=dev
OPTION =

when I connect by user- dev passwd- dev dns -SmartFmc

I get this error:
[unixODBC][MySQL][ODBC 3.51 Driver]Access denied for user: 'dev@localhost' (Using password: YES)

I see that the connection server is the local host but I try to connect to computer 192.168.0.116

what should I do to fix it?

thanks
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