I'm attempting to run the PHP function to create an ODBC connection such as this: $conn = odbc_connect('db_name', 'usr', 'password')

And That I understand this error:

Connect unsuccessful to localhost:1111 = localhost:1111., SQL condition S2801 in SQLConnect

Making me believe that the road to the database must be specified. Is the fact that correct? If that's the case, it is possible to method to discover which directory the database is within without going through every directory and searching for it by hand?

I'm using Ubuntu OS.

Thanks, Alex