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