Iam new in kamailio. When I try to create the data base with kamdbctl y have the following error
root@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@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
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@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@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