playSMS Forum

RASPBX: DB Error: connect failed with playsmsd working pid's


(Rui Brito Da Silva) #1

OS: RAPSBX - Strecht
Raspbian GNU/Linux 9 \n \l
root@raspbx:~# playsmsd check
PLAYSMSD_CONF = /etc/playsmsd.conf
PLAYSMS_PATH = /var/www/html/playsms
PLAYSMS_LIB = /var/lib/playsms
PLAYSMS_BIN = /usr/local/bin
PLAYSMS_LOG = /var/log/playsms
DAEMON_SLEEP = 1
ERROR_REPORTING = E_ALL ^ (E_NOTICE | E_WARNING)
IS_RUNNING = 1
PIDS schedule = 1454
PIDS ratesmsd = 1456
PIDS dlrssmsd = 1458
PIDS recvsmsd = 1460
PIDS sendsmsd = 1462

config.php
$core_config[‘db’][‘type’] = ‘mysqli’; // database engine
$core_config[‘db’][‘host’] = ‘localhost’; // database host/server
$core_config[‘db’][‘port’] = ‘3306’; // database port
$core_config[‘db’][‘user’] = ‘root’; // database username
$core_config[‘db’][‘pass’] = ‘R_____________’; // database password
$core_config[‘db’][‘name’] = ‘playsms’; // database name

Mysql has the playsms table

When doing playsmsd sendsmsd Nothing appens! No messages! No errors! It stills there until crtl+c to abort

The browser is allways saying - DB Error connect failed


(Arjun Dev) #2

Please double check your configuration file path and service path, and database detail


(Arjun Dev) #3

otherwise give me the server detail, I will solve our issue.