I need to read an image file from a blob column in MySql database into a byte array that can be used as an image source in a WinForm. I do not know the size of the blob.
int id = 1;
IDbCommand dbcmd = dbconn.CreateCommand();
string sql =
"SELECT image_file " +
"FROM current_session " +
"WHERE id = " + Id;
dbcmd.CommandText = sql;
IDataReader reader = dbcmd.ExecuteReader();
At this point the reader should have the data.
How do I get that data to the rawData array?
Native ability to set a user account password via AD GPO was removed because the passwords can be easily decrypted by any authenticated user in the domain. Microsoft recommends LAPS as a replacement and I have written an article that does something …
In this video, Percona Solution Engineer Dimitri Vanoverbeke discusses why you want to use at least three nodes in a database cluster.
To discuss how Percona Consulting can help with your design and architecture needs for your database and infras…