<html>
<head>
<meta http-equiv="Content-Type" content="text/html;
charset=windows-1252">
</head>
<body>
<div class="moz-cite-prefix">On 21.08.2020 05:12, Robert Dyck wrote:<br>
</div>
<blockquote type="cite" cite="mid:3546130.kQq0lBPeGt@blacky.mylan">
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px;
margin-right:0px; -qt-block-indent:0; text-indent:0px;
-qt-user-state:0;">As a learning exercise I wanted to create a
new database using opensips-cli "database create sqlite:///tmp"
or "database create sqlite:///tmp/tmp.db". The response was
invariably "<span style=" font-family:'monospace';
font-weight:600; color:#ff5454; background-color:#ffffff;">ERROR</span><span
style=" font-family:'monospace'; color:#000000;
background-color:#ffffff;">: Bad URL, it should resemble:
sqlite:///path/to/db". Omitting the path gives the same error
message.</span></p>
<p style="-qt-paragraph-type:empty; margin-top:0px;
margin-bottom:0px; margin-left:0px; margin-right:0px;
-qt-block-indent:0; text-indent:0px; "> </p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px;
margin-right:0px; -qt-block-indent:0; text-indent:0px;
-qt-user-state:0;"><span style=" font-family:'monospace';
color:#000000; background-color:#ffffff;">What am I missing?</span></p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px;
margin-right:0px; -qt-block-indent:0; text-indent:0px;
-qt-user-state:0;"><span style=" font-family:'monospace';
color:#000000; background-color:#ffffff;">Rob</span></p>
</blockquote>
<p><tt>Hey Robert,</tt></p>
<p><tt>The oldest programmer rule in the book applies here: "if it
isn't tested, it doesn't work". Could you open up an issue on
the opensips-cli tracker [1], so we can better keep track of
this issue? It may very well have a quick fix, since SQLAlchemy
should work well on top of SQLite.<br>
</tt></p>
<p><tt>Many thanks,<br>
</tt></p>
<p><tt>[1]: </tt><tt><a
href="https://github.com/opensips/opensips-cli/issues">https://github.com/opensips/opensips-cli/issues</a></tt></p>
<pre class="moz-signature" cols="72">--
Liviu Chircu
<a class="moz-txt-link-abbreviated" href="http://www.twitter.com/liviuchircu">www.twitter.com/liviuchircu</a> | <a class="moz-txt-link-abbreviated" href="http://www.opensips-solutions.com">www.opensips-solutions.com</a>
OpenSIPS Summit 2020 Distributed
<a class="moz-txt-link-abbreviated" href="http://www.opensips.org/events/Summit-2020Distributed">www.opensips.org/events/Summit-2020Distributed</a></pre>
</body>
</html>