GAMMU-SMSD-MYSQL(7)

NAME

gammu-smsd-mysql - gammu-smsd(1) backend using MySQL database server as a message storage

DESCRIPTION
gammu-smsd(1) supports several backends. Actual backend is chosen in a config file gammu-smsdrc(5). MYSQL backend stores all data in a MySQL database server, which parameters are defined by configuration (see gammu-smsd(5) for description of configuration options).

  Receiving of messages
Received messages are stored in inbox table.

  Transmitting of messages
Transmitted messages are read from table outbox and possible subsequent parts of the same message from outbox_multipart.

  Description of tables

daemon
    Information about running daemons.

gammu
    Table holding single value - version of a database schema.

inbox
    Table where received messages will be stored.

outbox
    Messages enqueued for sending should be placed in this table. If message is multipart, subsequent parts are stored in table outbox_multipart.

outbox_multipart
    Data for outgoing multipart messages.

phones
    Information about connected phones. This table is periodically refreshed and you can get information such as battery or signal level from here.

sentitems
    Log of sent messages, if delivery reports are configured, message state is updated here.

pbk Not used by SMSD currently, included only for application usage.

pbk_groups
    Not used by SMSD currently, included only for application usage.

EXAMPLE
SQL script to create all needed tables is included in Gammu documenation. As well as some PHP scripts interacting with the database.

SEE ALSO
gammu-smsd(1), gammu-smsdrc(5), gammu(1), gammurc(5)

AUTHOR
gammu-smsd and this manual page were written by Michal Cihar <michal@cihar.com>.

COPYRIGHT
Copyright © 2009 Michal Cihar and other authors. License GPLv2: GNU GPL version 2 <http://www.gnu.org/licenses/old-licenses/gpl-2.0.html>
This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law.

REPORTING BUGS
Please report bugs to <http://bugs.cihar.com>.