1

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

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

但没有任何事情发生保存到 MySQL 数据库中,我正在使用带有 Wamp Server 的 Windows 7。

这个配置的哪一部分是错误的?

4

1 回答 1

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 连接。

于 2013-10-03T10:38:46.773 回答