<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
</head>
<body>
<font face="Calibri Light">Hello<br>
<br>
I have config for opensips-cli like this in /etc/opensips-cli.cfg<br>
<br>
database_modules: ALL<br>
<br>
log_level: WARNING<br>
prompt_name: opensips-cli<br>
prompt_intro: Welcome to OpenSIPS at SECUREVOIP<br>
prompt_emptyline_repeat_cmd: False<br>
history_file: ~/.opensips-cli.history<br>
history_file_size: 1000<br>
output_type: pretty-print<br>
communication_type: fifo<br>
fifo_file: /tmp/opensips_fifo<br>
database_path: /tmp/opensips-3.1/scripts<br>
database_name: opensips<br>
database_admin_url: mysql://root:xxxx@localhost:3306/opensips<br>
database_url: mysql://opensips:opensipsrw@localhost:3306/opensips<br>
<br>
When i run in opensips-cli shell "database create" i get:<br>
<br>
ERROR: failed to connect to DB as opensips, please provide or fix
the 'database_url'<br>
<br>
I can see data DB opensips was created and also opensips user was
created.<br>
<br>
<br>
thank you<br>
miha<br>
</font>
</body>
</html>