Skip to main content

2026

Every post published in 2026, newest first. Pick a month to narrow it down.

Posts
1,054
Topics
114
Reading time
128 h
Active months
6

Posts 421–450 of 1,054 · November 6, 2026

Page 15 of 36

November 2026

802 posts

Friday, November 6, 2026

30 of 99 posts

  1. How to Use Your Own Certificates with the MySQL Docker Image

    Mount your own CA, server certificate and key into the official MySQL Docker image, and point it at them with --ssl-ca, --ssl-cert and --ssl-key. Includes the file owner that catches people on Linux. Real output from MySQL 9.7.

  2. How to Give a MySQL Docker Container a Certificate with the Right Host Name

    MySQL's automatic certificate has no name a client can verify. Sign a new one inside the container with the CA it already has, adding a Subject Alternative Name, and reload with no restart. Same commands in every shell. Real output from MySQL 9.7.

  3. How to Reload MySQL TLS Certificates Without a Restart

    ALTER INSTANCE RELOAD TLS makes MySQL read new certificate files with no restart and no dropped connections. If the files are bad, it keeps the old ones, unless you add NO ROLLBACK ON ERROR. Real output from MySQL 9.7.

  4. How to Check When a MySQL Server Certificate Expires

    Ask MySQL for its certificate's end date with one SHOW STATUS, or read the file with openssl, and use -checkend in a script. An expired certificate only breaks the clients that check it, so it's worth watching. Real output from MySQL 9.7.

  5. How to Find the TLS Certificates MySQL Creates in Docker

    MySQL generates a CA, a server certificate and a client certificate when it first starts, in its data folder. See what each file is for, and copy the CA out of the Docker container. Real output from MySQL 9.7.

  6. How to Convert a Private Key to BEGIN RSA PRIVATE KEY with openssl

    OpenSSL 3 and later write BEGIN PRIVATE KEY, and some software only reads the older BEGIN RSA PRIVATE KEY. Convert with openssl rsa -traditional. Real output, including why the old command stopped working.

  7. How to Create a Server Certificate with a Subject Alternative Name with openssl

    Clients check a server's name against its certificate's Subject Alternative Name, and openssl x509 -req leaves it out unless you ask. Create the key, the request and a signed certificate with the right names. Real output.

  8. How to Create a Certificate Authority with openssl

    Create your own private certificate authority with one openssl command, marked correctly as a CA so that servers and clients accept what it signs. Runs through Docker, so it works without installing OpenSSL. Real output.

  9. How to Read a Certificate with openssl

    See who a TLS certificate is for, who signed it, when it ends and which host names it covers, with one openssl command. Real output from a MySQL server's certificate, and a way to run it without installing OpenSSL.

  10. Fixed: appsettings.json Is Ignored When an ASP.NET Core DLL Runs from Another Folder

    A published ASP.NET Core API started from the wrong folder ran fine, with no error, and silently skipped appsettings.json. The content root is the folder you start in. Three ways to fix it, from real runs on .NET 10.

  11. Fixed: Timestamp Stuck to the Log Level in ASP.NET Core Console Logs

    My ASP.NET Core logs came out as 2026-11-06T08:00:35.102Zinfo: Program[0]. A TimestampFormat set for JSON logs had carried over to plain ones, with no space after it. Three ways to fix it, from real runs on .NET 10.

  12. Fixed: "error CS9297: '#:' directives cannot be after first token in file"

    In a one-file C# program, #:property and #:package have to come before any code, including using lines. Move them to the top. A real example with a #:property line placed below a using, in .NET 10.

  13. Fixed: "Reflection-based serialization has been disabled for this application" with dotnet run

    A one-file C# program that printed an object as JSON stopped with this error under dotnet run. File-based apps turn off System.Text.Json's reflection by default. Two fixes: one line at the top of the file, or a source generator. Real output from .NET 10.

  14. Fixed: "Model building is not supported when publishing with NativeAOT" with dotnet run and EF Core

    A one-file C# program with a DbContext stopped under dotnet run with this error, though nothing was being published. File-based apps turn native AOT on by default, and EF Core's model building needs it off. One line fixes it. Real output from .NET 10.

  15. Fixed: ForEach-Object -Parallel Doesn't Send Requests at the Same Time

    A load test with ForEach-Object -Parallel looked fine, and the same test with curl and xargs crashed the API. -ThrottleLimit isn't real concurrency when each run takes milliseconds. Use HttpClient and start every request at once. Real output from PowerShell 7.6.

  16. Fixed: "The certificate is invalid" with MySql.Data

    MySql.Data refuses an SslCert marked as a certificate authority, and openssl req -x509 marks it that way on a normal setup. Create the client certificate in two steps. Real output from .NET 10, OpenSSL 4 and MySQL 9.7.

  17. Fixed: "CS0120: An object reference is required" for ClearAllPoolsAsync in MySql.Data

    MySqlConnection.ClearAllPools is static, but ClearAllPoolsAsync and ClearPoolAsync are instance methods, so calling them like the others gives CS0120. Use the static one, or call them on a connection. Real output from .NET 10 and MySql.Data 26.10.0.

  18. Fixed: "Health check mysql with status Unhealthy" with Message "(null)" in ASP.NET Core

    ASP.NET Core's DbContext health check says Unhealthy with message (null), and no reason. CanConnectAsync swallows the exception. Send a normal request to see the real error in the log, or write a check that keeps it. Real output from .NET 10 and MySQL 9.7.

  19. Fixed: Kestrel:Limits:MaxRequestBodySize in appsettings.json Is Ignored

    ASP.NET Core doesn't read Kestrel limits from appsettings.json, so a 2 MB request gets past a 1 MB setting with no warning. Set the limit in code, and read the number from your own settings. Real output from .NET 10.

  20. Fixed: "Timeout expired" on Every Connection with Connect Timeout=0 in MySql.Data

    Connect Timeout=0 doesn't mean no limit in MySql.Data. The pool's wait loop never runs, so every pooled connection fails at once with Timeout expired. Use a number. Real output from .NET 10 and MySQL 9.7, and the driver's code.

  21. Fixed: "CREATE command denied to user" for Table '__EFMigrationsHistory' in EF Core

    dotnet ef database update is running as an account that can't change tables. EF Core's first statement creates its history table if it's missing, so it fails even when the table is there. Run migrations as an account with the right rights. Real output from EF Core 10 and MySQL 9.7.

  22. Fixed: "Option not supported (Parameter ...)" from a Semicolon in a MySQL Password in .NET C#

    A ; in a MySQL password ends the Password option in a connection string, and the rest looks like an unknown option. The exception message then shows part of your password. Quote the value, or use MySqlConnectionStringBuilder. Real output from .NET 10.

  23. Fixed: "User has exceeded the 'max_user_connections' resource" with MySql.Data

    A MySQL account's connection limit is lower than the driver's pool, so a busy .NET C# API answers 500 for some requests. Keep Maximum Pool Size below the limit, and treat error 1226 as temporary. Real output from .NET 10 and MySQL 9.7.

  24. Fixed: "Connections using insecure transport are prohibited" with MySql.Data

    MySQL has require_secure_transport turned on, and your connection string asks for no TLS. MySql.Data wraps the message in "Authentication to host failed", but it isn't about your password. Use SslMode=Required or stronger. Real output from .NET 10 and MySQL 9.7.

  25. Fixed: "Access denied for user" with REQUIRE X509 and MySql.Data

    A MySQL account with REQUIRE X509 refuses MySql.Data even with the right SslCert and SslKey, because PEM client certificates are never sent. The mysql client with the same files gets in. Use a PFX, or drop the requirement. Real output from .NET 10 and MySQL 9.7.

  26. Fixed: "The host does not support SSL connections" with MySql.Data

    SslMode=Required says the MySQL server has no TLS. Mine had it a minute earlier, until ALTER INSTANCE RELOAD TLS NO ROLLBACK ON ERROR turned it off with a bad key. Fix the files and reload. Real output from .NET 10 and MySQL 9.7.

  27. Fixed: "TLS protocols TLSv1 and TLSv1.1 are no longer supported" with MySql.Data

    MySql.Data accepts only TLSv1.2 and TLSv1.3 in TlsVersion, and stops before connecting if you name anything older. Change the connection string. Real output from .NET 10 and MySQL 9.7.

  28. Fixed: "The requested security protocol is not supported" with MySql.Data

    TlsVersion=TLSv1.3 in a MySql.Data connection string fails on macOS, because .NET's default TLS library there can't do TLS 1.3. Turn on Network.framework or list TLS 1.2 as well. Real output from .NET 10 and MySQL 9.7.

  29. Fixed: "Cannot determine the frame size or a corrupted frame was received" with MySql.Data

    MySql.Data uses only TLS 1.2 unless you say otherwise, so a MySQL server set to TLS 1.3 alone refuses it with a message about corrupted frames. Add TlsVersion to the connection string. Real output from .NET 10 and MySQL 9.7.

  30. Fixed: "certificate expired on" CertificateExpiredException with MySql.Data

    SslMode=VerifyCA and VerifyFull refuse a MySQL server whose certificate has run out, while SslMode=Required connects without a word. Give the server a new certificate, and reload it without a restart. Real output from .NET 10 and MySQL 9.7.