cancel
Showing results for 
Search instead for 
Did you mean: 

unable to connect to utility_db using sybase central in sql anywhere 11

Former Member
7,541

Hi, I m trying to connect syabase database using sybase central in sql anywhere 11 but it is failed. Even though I passed valid credentials ,TCP/IP details too. And I have put dbsrv.exe as start line .It throws error "database file does exist" or "Unable to communicate with Database" or "[Sybase] [ODBC Driver] [Sql Anywhere] Database server not found"

I also tried to connect it using dbsrv and dbeng command line argument and it thows the error invalid userid/password.

Can you please tell me the valid steps to connect sybase database.

Accepted Solutions (0)

Answers (2)

Answers (2)

Breck_Carter
Participant

I assume you want to connect to the "phantom" database called "utility_db", rather than an actual database. Once you are connected to utility_db, there's not a lot you can do, other than START DATABASE and a few other commands; see http://dcx.sybase.com/index.html#1201/en/dbadmin/utility-db-dbfiles.html

All you are missing is the ENG= connection parameter (see http://dcx.sybase.com/index.html#1201/en/dbadmin/connecting-util-dbfiles.html)...

"%SQLANY11%\\Bin32\\dbsrv11.exe -su mypwd -gd DBA -n my_server

"%SQLANY11%\\Bin32\\dbisql.exe" -c "uid=dba;pwd=sql;eng=my_server;dbn=utility_db"

If you are trying to start and connect to an actual database, please ask another question on this forum.

MCMartin
Participant

Have a look at Starting and connecting to your database in the documentation

Former Member
0 Kudos

I already referenced this link but my problem is unable to replicate with in it.