eM Client won't open on new computer - keep getting sqlite error

Installed eM Client on new Windows 10 machine. It was working fine and I was able to import all my old emails. But suddenly this morning it says it wasn’t shut down properly; starts the database check and then that stops and I get this error. I get that it must mean something is corrupted. But what? And how do I fix it? And why was it working before and now it isn’t?  HELP!!

System.Data.SQLite.SQLiteException (0x80004005): attempt to write a readonly database

attempt to write a readonly database

   at System.Data.SQLite.SQLite3.Reset(SQLiteStatement stmt)

   at System.Data.SQLite.SQLite3.Step(SQLiteStatement stmt)

   at System.Data.SQLite.SQLiteDataReader.NextResult()

   at System.Data.SQLite.SQLiteDataReader…ctor(SQLiteCommand cmd, CommandBehavior behave)

   at System.Data.SQLite.SQLiteCommand.ExecuteReader(CommandBehavior behavior)

   at System.Data.SQLite.SQLiteCommand.ExecuteNonQuery()

   at MailClient.Storage.Data.DataStore.GetConnection(String relativeName)

   at DbRepair.CorruptionChecker.CheckCorruption()

   at DbRepair.FormCheck.Check(Object state)

Never mind. I uninstalled eM Client and went with Thunderbird instead. Problem solved.