Search notes:

MySql.Data.MySqlClient.MySqlConnection (class)

MySql.Data.MySql.MySqlConnection inherits from System.Data.Common.DbConnection and represents a connection to a MySQL server.

Error message Guid should contain 32 digits with 4 dashes

When I started to experiment with MySqlConnection, I got a Unhandled Exception: System.FormatException: Guid should contain 32 digits with 4 dashes (xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx) error message.
This seems to be a known bug.
The solution is to use old guids=true in the connection string:
MySqlConnection conn = new MySqlConnection("Database=tq84_db;Data Source=SRV-08;User Id=rene;Password=rene;old guids=true");

Index

Fatal error: Uncaught PDOException: SQLSTATE[HY000]: General error: 8 attempt to write a readonly database in /home/httpd/vhosts/renenyffenegger.ch/php/web-request-database.php:78 Stack trace: #0 /home/httpd/vhosts/renenyffenegger.ch/php/web-request-database.php(78): PDOStatement->execute(Array) #1 /home/httpd/vhosts/renenyffenegger.ch/php/web-request-database.php(30): insert_webrequest_('/notes/Microsof...', 1759525740, '216.73.216.149', 'Mozilla/5.0 App...', NULL) #2 /home/httpd/vhosts/renenyffenegger.ch/httpsdocs/notes/Microsoft/dot-net/namespaces-classes/MySql/Data/MySqlClient/MySqlConnection(43): insert_webrequest() #3 {main} thrown in /home/httpd/vhosts/renenyffenegger.ch/php/web-request-database.php on line 78