cancel
Showing results for 
Search instead for 
Did you mean: 

Sybase Anywhere 12 Attach or Restore (*.db and *.log files)

Former Member
6,605

Hi, I think there serdar.db and serdar.log Sybase database files.

I installed the Sybase Anywhere 12 database server. Windows 7 64 Bit. Working now.

My question is. serdar.db and serdar.log files, Anywhere Server How I would like to attach or restored?

Accepted Solutions (0)

Answers (1)

Answers (1)

Breck_Carter
Participant

If "attach" means "start", just specify the filespec for serdar.db on the dbsrv12 command line:

   "%SQLANY12%\\bin64\\dbsrv12.exe" serdar.db
VolkerBarth
Contributor
0 Kudos

In case you come from a MS SQL Server or Sybase ASE background - SQL Anywhere has a different concept: There's no "master database", each database is independent of each other, and so you don't have to "attach" a database to a particular server instance. Instead you can simply

  • start a database engine with the specified database (as Breck has shown) or
  • use the START DATABASE statement to "load" a database on an already running database.