Is there a way to share In-memory db between processes?
<p>My c++ client on linux uses sqlite3, and I am planning to open the same db with node.js.<br>
That is, I mean I want to use the same database file between other processes, not threads.</p>

<p>On my windows, I ran sqlite3.exe on two cmd shells.</p>

<p>In 1st cmd shell,</p>

<blockquote>
  <p>sqlite3.exe<br>
  sqlite> ATTACH DATABASE 'file:memdb1?mode=memory&amp;cache=shared' AS aux1;<br>
  sqlite> create table items ( name varchar(20) );<br>
  sqlite> insert into items (name) values ('item1');  </p>
</blockquote>

<p>In 2nd cmd shell,</p>

<blockquote>
  <p>sqlite3.exe<br>
  sqlite> ATTACH DATABASE 'file:memdb1?mode=memory&amp;cache=shared' AS aux1;<br>
  sqlite> select * from items;<br>
  Error: no such table: items  </p>
</blockquote>

<p>Any suggestion or comment would be thankful.</p>