在Gammu smsd文件配置中需要帮助

时间:2013-07-19 07:57:21

标签: sms-gateway gammu

我在smsdrc文件中编辑的内容:

[smsd]
# SMSD service to use, one of FILES, MYSQL, PGSQL, DBI
service = MYSQL
user = root
password = 
pc = localhost
driver = native_mysql

但没有任何事情可以保存到MySQL数据库中, 我正在使用Windows 7和Wamp Server。

此配置的哪一部分有误?

1 个答案:

答案 0 :(得分:1)

这是我的配置文件,它可以工作:

4 [gammu]
5 # Please configure this!
6 port = /dev/ttyUSB1
7 connection = AT
8 # Debugging
9 #logformat = textall
10
11 # SMSD configuration, see gammu-smsdrc(5)
12 [smsd]
13 service = sql
14 driver = native_mysql
15 logfile = 
16 pin = 1111
17 User = root
18 Password = password
19 PC = localhost
20 Database = smsd
21 InboxFormat = standard

如果您没有诺基亚手机,则使用AT连接。