[Kamailio-Users] /usr/local/sbin/kamdbctl create error
lazturk
lazturk at yahoo.com
Wed Nov 25 17:59:38 CET 2009
Hello,
How did you solve this problem bcz I am getting a similar error ;
Thanks for your feedback.
vivi-8 wrote:
>
> Hi all
>
> I have specify the wanted db type (DBENGINE=MYSQL) in the
> /usr/local/etc/kamailio/kamctlrc
>
> then I using "/usr/local/sbin/kamdbctl create" to create MySQL database,
> but I got this error:
>
>
>
>
>
> ERROR: database engine not specified, please setup one in the config
> script
>
> root at acer:/usr/local/src/kamailio-1.5.0/sip-server# vim
> /usr/local/etc/kamailio/kamctlrc
>
> root at acer:/usr/local/src/kamailio-1.5.0/sip-server#
> /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)
>
> ERROR 2002 (HY000): Can't connect to local MySQL server through socket
> '/var/run/mysqld/mysqld.sock' (2)
>
> Usage: grep [OPTION]... PATTERN [FILE]...
>
> Try `grep --help' for more information.
>
> /usr/local/lib/kamailio/kamctl/kamdbctl.mysql: line 112: [: =: unary
> operator expected
>
> INFO: creating database openser ...
>
> ERROR 2002 (HY000): Can't connect to local MySQL server through socket
> '/var/run/mysqld/mysqld.sock' (2)
>
> ERROR: Creating core database and grant privileges failed!
>
>
>
>
>
> Cheers,
>
> vivi
>
>
> _______________________________________________
> Kamailio (OpenSER) - Users mailing list
> Users at lists.kamailio.org
> http://lists.kamailio.org/cgi-bin/mailman/listinfo/users
> http://lists.openser-project.org/cgi-bin/mailman/listinfo/users
>
--
View this message in context: http://old.nabble.com/-usr-local-sbin-kamdbctl-create-error-tp23902988p26516358.html
Sent from the OpenSER Users Mailing List mailing list archive at Nabble.com.
More information about the sr-users
mailing list