[sr-dev] [kamailio/kamailio] Error when running kamdbctl create (Issue #3055)

lcph notifications at github.com
Mon Mar 14 23:50:21 CET 2022


When running kamdbctl create, it fails. The error is as show below. Can someone with knowledge please help me solve this.

/usr/share/kamailio/mysql$ kamdbctl create

MySQL password for root: 
-e database engine 'mysql' loaded
-e \E[37;33mINFO: test server charset
mysql: [Warning] Using a password on the command line interface can be insecure.
ERROR 1682 (HY000) at line 1: Native table 'performance_schema'.'session_variables' has the wrong structure
mysql: [Warning] Using a password on the command line interface can be insecure.
Usage: grep [OPTION]... PATTERN [FILE]...
Try 'grep --help' for more information.
/usr/sbin/kamdbctl: 117: [: =: unexpected operator
-e \E[37;33mINFO: creating database kamailio ...
mysql: [Warning] Using a password on the command line interface can be insecure.
ERROR 1064 (42000) at line 1: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '' at line 1
-e \E[37;31mERROR: Creatin


-- 
Reply to this email directly or view it on GitHub:
https://github.com/kamailio/kamailio/issues/3055
You are receiving this because you are subscribed to this thread.

Message ID: <kamailio/kamailio/issues/3055 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.kamailio.org/pipermail/sr-dev/attachments/20220314/d53ec6d2/attachment.htm>


More information about the sr-dev mailing list