problems with database after build (.exe)

Hi all,
I have a small application in unity that needs to connects to database and retrieve some data.
I am using System.Data and Sytem.Data.SQLITE…and Mono.Data.Sqlite…
So I have created a data base named myDB.db

When I created an executable, the values from database are blank. The place where values from database must be displayed is blank.

I am using this function for connection

public SqliteConnection OpenDatabase(string path)
{
connection = “URI=file:” + path;
try
{
db = new SqliteConnection(connection);
db.Open();
}
catch
{
//SqliteConnection.CreateFile(path);
}
finally
{
db = new SqliteConnection(connection);
db.Open();
}
return db;
}

My guess: your exe is started in a different folder and cannot find the db file any more. You need to copy the file to the right location.

Even I think the same…I have to put the myDB.db file in many folders but still can’t find the right place…do you know where to put the .db file

I found the solution…we need a Plugins folder in Assets and copy sqlite3.dll in the plugins folder…the build will work…