Please be aware that the content in SAP SQL Anywhere Forum will be migrated to the SAP Community in June and this forum will be retired.

Hi all,

i'm having problems with the MobiLink agent. When i try to start it i get an error 'Connection to the agent db could not be established' When i try to reset the agent db with "mlagent -cr ..." i get an error 'Agent db could not be deleted'

The documentation of mlagent is very poor unfortunately and i don't even find the file of the agent db.

Can anybody help me?



asked 15 Mar '17, 03:43

Axel%20Siepmann's gravatar image

Axel Siepmann
accept rate: 7%

The file name for that database will begin with "mlagent.*" if you want to try forcing a delete on that. {if it is .db do make sure that you remove any mlagent.log as well}

You could still run into a problem if the file is in use by a running agent or if you do not have sufficient permission.

The first errors to be a more simple connection error but there is not enough to tell how that could occur unless your credentials are failing.

(15 Mar '17, 18:09) Nick Elson S...

Thanks, Nick.

The documentation says the name of the database is 'taskdb':

"-n name Specify the name of the agent database. The default is taskdb."

It really was up to missing permission for the mlagent.udb-file. The file is located in "%programdata%\SQL Anywhere 16\MobiLink Agent" - Good to know!

Best regards,


permanent link

answered 16 Mar '17, 06:57

Axel%20Siepmann's gravatar image

Axel Siepmann
accept rate: 7%

edited 16 Mar '17, 06:57

Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here



Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text]( "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Question tags:


question asked: 15 Mar '17, 03:43

question was seen: 1,471 times

last updated: 16 Mar '17, 06:57