Skip to main content

November 2026

Every post published in November 2026, newest first. Pick a day to jump straight to it.

Posts
1,837
Topics
113
Reading time
190 h
Active days
20

Posts 1,771–1,800 of 1,837 · November 3, 2026

Page 60 of 62

Tuesday, November 3, 2026

30 of 91 posts

  1. How to Show MySQL Query Results Vertically with \G

    Wide MySQL results wrap into an unreadable mess in the terminal. End a statement with \G instead of a semicolon to print each row as a list of column: value lines, or start the mysql client with --vertical. Real output from MySQL 9.7.

  2. How to List the CHECK Constraints in MySQL

    List the CHECK constraints of a MySQL database with their tables, rules and whether they're enforced, by joining INFORMATION_SCHEMA.CHECK_CONSTRAINTS and TABLE_CONSTRAINTS, or see one table's in SHOW CREATE TABLE. Real output from MySQL 9.7, with constraints created by EF Core.

  3. How to List the Foreign Keys of a MySQL Table

    Find every foreign key in a MySQL database: which column points to which table, what happens on delete and update (RESTRICT, CASCADE, NO ACTION), and which tables reference a given table, using SHOW CREATE TABLE and INFORMATION_SCHEMA. Real output from MySQL 9.7.

  4. How to List the Indexes of a MySQL Table

    See every index on a MySQL table with SHOW INDEX, read its columns (Non_unique, Key_name, Seq_in_index, Cardinality), and list all indexes of a database with their columns in one query from INFORMATION_SCHEMA.STATISTICS. Real output from MySQL 9.7.

  5. How to See the Structure of a MySQL Table (DESCRIBE and SHOW CREATE TABLE)

    See a MySQL table's columns, types, keys and constraints: DESCRIBE for a quick look, SHOW FULL COLUMNS for collations, SHOW CREATE TABLE for the complete definition, and INFORMATION_SCHEMA.COLUMNS for queries. What PRI, UNI and MUL mean, with real output from MySQL 9.7.

  6. How to List the Tables in a MySQL Database

    List the tables of a MySQL database with SHOW TABLES, filter them with LIKE, tell tables from views with SHOW FULL TABLES, and get engine, collation and row counts from INFORMATION_SCHEMA.TABLES, including why TABLE_ROWS isn't an exact count. Real output from MySQL 9.7.

  7. How to Run a Command Inside a Running Docker Compose Container (docker compose exec)

    Run one command, or a whole interactive shell, inside a container that Docker Compose started, with docker compose exec. See how to read its environment, open bash and leave it, run as another user, and use -T in scripts. Shown with a MySQL 9.7 container.

  8. How to See the Logs of a Docker Compose Service (docker compose logs)

    Read what a container started by Docker Compose prints, with docker compose logs: the last few lines, timestamps, only the last few minutes, live following, and searching for one message in bash or PowerShell. Shown with a MySQL 9.7 container.

  9. Fixed: "Unable to create a 'DbContext' of type 'InventoryDbContext'. The exception 'Unable to resolve service for type DbContextOptions' was thrown" in EF Core

    An EF Core migrations bundle run as Production failed with: An error occurred while accessing the Microsoft.Extensions.Hosting services. Continuing without the application service provider, then Unable to create a 'DbContext' of type. Why the app's own startup code decides it, why --connection didn't help, and the fix.

  10. Fixed: "NU1608: Pomelo.EntityFrameworkCore.MySql 9.0.0 requires Microsoft.EntityFrameworkCore.Relational (>= 9.0.0 && <= 9.0.999) but version 10.0.14 was resolved"

    Adding Pomelo.EntityFrameworkCore.MySql 9.0.0 to an EF Core 10 project failed with NU1608: Detected package version outside of dependency constraint, plus NU1902 for MySqlConnector 2.4.0. Why a provider for EF Core 9 can't run on EF Core 10, why suppressing the warning is wrong, and the fix: a provider built for EF Core 10.

  11. Fixed: "dotnet package update --vulnerable: error: Restore failed. Unhandled exception: Specified method is not supported."

    dotnet package update --vulnerable crashed with error: Restore failed and Unhandled exception: Specified method is not supported. in a .NET 10 solution with TreatWarningsAsErrors. Microsoft's docs explain the cause, NuGet warnings failing the command's own restore, and give the workaround I used: a condition on TreatWarningsAsErrors and an environment variable.

  12. Fixed: "NU1903: Warning As Error: Package 'Newtonsoft.Json' 12.0.3 has a known high severity vulnerability"

    Restore and build failed with error NU1903: Warning As Error: Package has a known high severity vulnerability. What NuGet Audit found, the two commands that failed while I tried to fix it, the report that worked with --no-restore, and the version change that cleared it. Real output from .NET 10.

  13. Fixed: "System.IO.IOException: Failed to bind to address http://127.0.0.1:5190: address already in use." in ASP.NET Core

    dotnet run stopped with Hosting failed to start: System.IO.IOException: Failed to bind to address http://127.0.0.1:5190: address already in use. How to find the process that holds the port with lsof (or PowerShell on Windows), stop it cleanly, or run on another port, with real output from .NET 10 on macOS.

  14. Fixed: "error IDE0044: Make field readonly" in a .NET C# Build

    dotnet build failed with error IDE0044: Make field readonly after turning on EnforceCodeStyleInBuild. What the rule checks, why a code-style suggestion became a build error, the one-word fix, and how to change the rule's severity in .editorconfig if you disagree with it.

  15. Fixed: "error NU1109: Detected package downgrade: Microsoft.EntityFrameworkCore.Relational from 10.0.12 to centrally defined 10.0.11"

    dotnet restore failed with error NU1109: Detected package downgrade … to centrally defined version, in a .NET C# solution with Central Package Management and transitive pinning. How to read the two dependency lines under the message, why NuGet refuses, and the two fixes from Microsoft's NU1109 page.

  16. Fixed: "NU1202: Package Microsoft.EntityFrameworkCore 11.0.0-rc.3 is not compatible with net10.0"

    dotnet package add --prerelease failed with error NU1202: Package Microsoft.EntityFrameworkCore 11.0.0-rc.3 is not compatible with net10.0 (.NETCoreApp,Version=v10.0). What the supports: line means, why the project file was left unchanged, and the two fixes: a package version for your framework, or a newer target framework.

  17. Fixed: "error CS0246: The type or namespace name 'Dewiride' could not be found (are you missing a using directive or an assembly reference?)"

    dotnet build failed with error CS0246: The type or namespace name could not be found. The question at the end of the message names the two usual causes. How to tell from the name in quotes and the line number which one you have, and the fix for each: a project reference or a using directive.

  18. Fixed: "MSB1011: Specify which project or solution file to use because this folder contains more than one project or solution file."

    dotnet build stopped with MSBUILD : error MSB1011 right after dotnet sln migrate created an .slnx next to the old .sln. Why MSBuild refuses to guess, what Microsoft's MSB1011 page does and doesn't cover, and the two fixes: name the file, or keep one solution per folder.

  19. Fixed: EF Core UseCollation() Doesn't Change the MySQL Column Collation with Oracle's MySql.EntityFrameworkCore

    With Oracle's MySQL provider, EF Core's UseCollation("utf8mb4_0900_as_cs") produced a migration that applied with Done, yet the column stayed utf8mb4_0900_ai_ci and ERROR 1062 still fired. What the generated SQL showed, what Oracle documents instead (ForMySQLHasCollation), and the migration that really changes the collation.

  20. Fixed: "Failure processing application bundle. DOTNET_BUNDLE_EXTRACT_BASE_DIR is not set, and a read-write cache directory couldn't be created."

    An EF Core migrations bundle, a single-file .NET executable, failed on macOS with Failure processing application bundle. Failed to determine location for extracting embedded files. How I found a root-owned ~/.net folder, what Microsoft's docs say about the extraction folder, and two fixes.

  21. Fixed: "The migration '…_MakeDescriptionRequired' has already been applied to the database. Revert it and try again." in EF Core

    dotnet ef migrations remove refused: The migration has already been applied to the database. Revert it and try again. How to confirm which migrations are applied, revert to the previous one, remove it cleanly, and when to add a new migration instead. Real output from EF Core 10 on MySQL 9.7.

  22. Fixed: "Your target project 'Dewiride.Inventory.Api' doesn't match your migrations assembly 'Dewiride.Inventory.Data'" in EF Core

    dotnet ef migrations add failed with Your target project doesn't match your migrations assembly. Either change your target project or change your migrations assembly. What the target project and the migrations assembly are, which of the message's two fixes to pick, and why migrations list worked from the same folder.

  23. Fixed: "Your startup project 'Dewiride.Inventory.Data' doesn't reference Microsoft.EntityFrameworkCore.Design" in dotnet ef

    dotnet ef said: Your startup project doesn't reference Microsoft.EntityFrameworkCore.Design. This package is required for the Entity Framework Core Tools to work. Why installing the package where the message points is often the wrong fix, how to check which project has it, and the right startup project for a class library DbContext.

  24. Fixed: "No project was found. Change the current working directory or use the --project option." in dotnet ef

    dotnet ef migrations add stopped with No project was found. Change the current working directory or use the --project option. Why EF Core's tools can't use a solution folder, how to see which project they need, and the command that works for a .NET C# solution with the DbContext in a class library.

  25. Fixed: "error CS8618: Non-nullable property 'Description' must contain a non-null value when exiting constructor" in C#

    dotnet build failed with error CS8618: Non-nullable property must contain a non-null value when exiting constructor. What the compiler is protecting you from, the five ways to answer it, each built for real on an EF Core entity, and how to choose: required, a constructor, nullable, a default value or null!.

  26. Fixed: "The association between entity types 'Category' and 'Product' has been severed, but the relationship is either marked as required" in EF Core

    Deleting a parent row with its children loaded threw InvalidOperationException: The association between entity types has been severed, but the relationship is either marked as required. Why EF Core throws it from Remove() before any SQL runs, why a try/catch around SaveChanges misses it, and the fix for a restrict-delete relationship.

  27. Fixed: "DbUpdateException: Could not save changes. Please configure your entity type accordingly." with EF Core and MySQL

    With Oracle's MySQL provider for EF Core, every failed save throws DbUpdateException: Could not save changes. Please configure your entity type accordingly. The entity configuration is fine: the reason is the inner MySqlException. How to read it, and how to turn MySQL error numbers into proper HTTP responses.

  28. Fixed: "Cannot convert string value 'Refund' from the database to any value in the mapped 'StockMovementType' enum." in EF Core

    An EF Core query failed with InvalidOperationException: Cannot convert string value from the database to any value in the mapped enum. Why one unknown name in a string enum column stops the whole query, how to find every bad value with one SQL query, and how to keep them out.

  29. Fixed: "An operation was scaffolded that may result in the loss of data. Please review the migration for accuracy." in EF Core

    dotnet ef migrations add printed "An operation was scaffolded that may result in the loss of data" on five migrations while I built an EF Core 10 model on MySQL. How to find the operation it means, the data check for each kind of change, and what happened when I applied one without checking.

  30. Fixed: "A compatible .NET SDK was not found" (Requested SDK Version from global.json)

    Every dotnet command in a .NET C# project failed with "A compatible .NET SDK was not found. Requested SDK version: 10.0.100", even though the newer SDK 10.0.403 was installed. The cause was the rollForward rule in global.json. Here's how to read the error and fix it in one line.