cancel
Showing results for 
Search instead for 
Did you mean: 

windows service name

Former Member
2,883

Hello , I have created Sql Anywhere as a windows service using dbsvc tool, as below

dbsvc -as -sn myserv -w myserv "c:\\Program Files\\SQL Anywhere 11\\bin32\\dbeng11.exe"

Service has been created successfully and I am able to see the service name under windows service list. I further checked the property of service where I found Display name : myserv
Service Name : SQLANYe_myserv
1) Why it is so ? 2)Why SQLANYe prefix has added ? 3)How to make Both Display name and service name same?

Thanks in Advance !

Accepted Solutions (1)

Accepted Solutions (1)

MarkCulp
Participant

By convention, dbsvc always prefixes it services with SQLANY<c>_ to easily identify the service as a SQL Anywhere service and which type of service - the <c> is 'e' to indicate it is an 'engine' (aka Personal Server). Other letters are:

  • 's' for server (aka Network Server),
  • 'r' for dbremote,
  • 'm' for mobilink,
  • 'z' for dbmlsync,
  • 'l' for dbltm,
  • 'd' for dbns,
  • 'v' for dbvss,
  • 'h' for rshost,
  • 'b' for rsoe,
  • 'g' for mlagent,
  • 'u' for dbcloudagent, and
  • 'o' for odata server.

If you do not want the SQLANY<>_ prefix then you will need to create the service using some other tool - E.g. Microsoft's sc tool.

Answers (0)