MySQL is definitely one of the most popular database systems. It is free and open-source, and comparably easy to install and use.
The all-in-one installation package makes the installation quite simple. This package also includes MySQL workbench for tasks like executing SQL statements and database administration with a nice graphical user interface (GUI).
PersistentTableArray class of the non-commercial .net library finaquant® protos can be connected with a relational database like MySQL (or Microsoft SQL) in order to read or write in-memory tables from/to the database together with their instance information.
You may find some interesting articles in internet if you search for MySQL versus SQL Express.
PersistentTableArray and DataStore classes of finaquant® protos that are responsible for the database connection don’t need many widgets and gadgets of a sophisticated commercial database; they are based on most basic standard (ANSI) SQL statements for reading or writing complete tables. So technically, MySQL database is more than enough for persistent table arrays with the advantage that it doesn’t have the storage space limitations of Microsoft SQL Server Express.
You will also need Microsoft Visual Studio (VS) to run the demo function for persistent table arrays included in the VS project file FinaquantProtosStarter that you can download at the product page of finaquant® protos.
Initiating a persistent table array is about setting the correct database connection string and data provider to a DataStore object:
using FinaquantProtos; using System.Data.Odbc; // initiate DataStore for database connection DataStore datstore = new DataStore(Provider: "System.Data.Odbc"); // open database connection string ConnStr = @"Driver={MySQL ODBC 5.2w Driver};Server=localhost;Database=finaquant;uid=root;pwd=MyPassword"; datstore.OpenConnection(ConnStr); // initiate a persistent table array var PTblCost = new PersistentTableArray(TableName: "costs", dstore: datstore); |