[SR-Users] Error 2002 (HY000) creating database kamailio

Sergey Okhapkin sos at sokhapkin.dyndns.org
Wed Sep 21 15:04:38 CEST 2016


Is mysql server running?

On Wednesday 21 September 2016 08:30:48 Diogenes Marcano wrote:
> 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



More information about the sr-users mailing list