[SR-Users] Error 2002 (HY000) creating database kamailio
Diogenes Marcano
dmarcanoa at gmail.com
Wed Sep 21 15:00:48 CEST 2016
Iam new in kamailio.
When I try to create the data base with kamdbctl y have the following error
root at diogenes-Inspiron-1525:/usr/local/sbin# kamdbctl create
MySQL password for root:
INFO: test server charset
ERROR 2002 (HY000): Can't connect to local MySQL server through socket
'/var/run/mysqld/mysqld.sock' (2 "No such file or directory")
ERROR 2002 (HY000): Can't connect to local MySQL server through socket
'/var/run/mysqld/mysqld.sock' (2 "No such file or directory")
Usage: grep [OPTION]... PATTERN [FILE]...
Try 'grep --help' for more information.
/usr/local/lib/kamailio//kamctl/kamdbctl.mysql: line 111: [: =: unary
operator expected
INFO: creating database kamailio ...
ERROR 2002 (HY000): Can't connect to local MySQL server through socket
'/var/run/mysqld/mysqld.sock' (2 "No such file or directory")
ERROR: Creating database kamailio failed!
root at diogenes-Inspiron-1525:/usr/local/sbin# mysql
ERROR 2002 (HY000): Can't connect to local MySQL server through socket
'/var/run/mysqld/mysqld.sock' (2 "No such file or directory")
Thank you for your hrlp
Diogenes Marcano
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sip-router.org/pipermail/sr-users/attachments/20160921/ac26620d/attachment.html>
More information about the sr-users
mailing list