I am trying to setup Kamailio with MySQL plugin. I setup the config as follows:
## your SIP domain
SIP_DOMAIN=example.org
DBENGINE=MYSQL
## database host
DBHOST=localhost
## database host
DBPORT=3306
When I run kamdbctl create
, I get the following:
INFO: test server charset
mysql: [Warning] Using a password on the command line interface can be insecure.
ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: YES)
mysql: [Warning] Using a password on the command line interface can be insecure.
ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: YES)
Usage: grep [OPTION]... PATTERN [FILE]...
Try 'grep --help' for more information.
/usr/lib/x86_64-linux-gnu/kamailio//kamctl/kamdbctl.mysql: line 117: [: =: unary operator expected
INFO: creating database kamailio ...
mysql: [Warning] Using a password on the command line interface can be insecure.
ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: YES)
ERROR: Creating database kamailio failed!