on 2012 Jun 11 3:07 AM
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.
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Have a look at Starting and connecting to your database in the documentation
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
66 | |
10 | |
10 | |
10 | |
10 | |
8 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.