read mosquitto.db

Asked by nghianguyen

Hi everybody,
I'm a newbie, and I'm running Mosquitto as Windows services. After running, i have got mosquitto.db so I want read it, but i can't
Please help me!

Question information

Language:
English Edit question
Status:
Solved
For:
mosquitto Edit question
Assignee:
No assignee Edit question
Solved by:
Roger Light
Solved:
Last query:
Last reply:
Revision history for this message
Best Roger Light (roger.light) said :
#1

Hi,

The mosquitto.db file holds internal persistence information on client
subscriptions and retained messages. It isn't intended for use outside
of mosquitto. There is no guarantee that it is up to date information.

Having said that, if you are interested in looking at the file then
the source file to look at is src/persist.c. There is also a program
to print the file contents in a more readable manner - you should
compile src/db_dump/db_dump.c.

I hope this helps.

Cheers,

Roger

On Mon, Dec 24, 2012 at 8:11 AM, nghianguyen
<email address hidden> wrote:
> New question #217523 on mosquitto:
> https://answers.launchpad.net/mosquitto/+question/217523
>
> Hi everybody,
> I'm a newbie, and I'm running Mosquitto as Windows services. After running, i have got mosquitto.db so I want read it, but i can't
> Please help me!
>
> --
> You received this question notification because you are a member of
> Mosquitto PPA, which is an answer contact for mosquitto.

Revision history for this message
nghianguyen (nghianguyen1210) said :
#2

Thanks Roger Light, that solved my question.