Tagged articles

SQL syntax

7 articles · Page 1 of 1
ITPUB
ITPUB
Dec 30, 2023 · Databases

Why MySQL 5.6 → 5.7 Upgrades Fail and How to Prevent Rollbacks

The article recounts a legacy project that relied on MySQL 5.6, explains common pitfalls of that version such as replication lag, heavy performance_schema overhead, binlog issues, and memory limits, then details why an upgrade to 5.7 was rolled back due to syntax changes, case‑sensitivity differences, and unresolved configuration problems.

Case SensitivityMySQLSQL syntax
0 likes · 9 min read
Why MySQL 5.6 → 5.7 Upgrades Fail and How to Prevent Rollbacks
Liangxu Linux
Liangxu Linux
Dec 30, 2021 · Databases

Why MySQL UPDATE Fails with AND and How to Use Comma‑Separated Assignments

A developer noticed an UPDATE statement that appeared to run without effect, discovered that using AND between column assignments is invalid in MySQL, learned the correct comma‑separated syntax, and saw how logical AND expressions can produce unexpected zero values.

Database TroubleshootingLogical expressionsMySQL
0 likes · 3 min read
Why MySQL UPDATE Fails with AND and How to Use Comma‑Separated Assignments
Java Architect Essentials
Java Architect Essentials
Nov 4, 2021 · Databases

Why MySQL UPDATE Fails with AND and How to Fix It

The article explains a common MySQL UPDATE mistake where developers use AND between column assignments, shows the unexpected result of owner_code becoming 0, analyzes the logical expression behind it, and provides the correct comma‑separated syntax to reliably update multiple fields.

DatabaseMySQLSQL syntax
0 likes · 4 min read
Why MySQL UPDATE Fails with AND and How to Fix It
Java Backend Technology
Java Backend Technology
May 31, 2019 · Databases

Why MySQL UPDATE Appears to Do Nothing and How to Fix It

This article explains why a syntactically correct MySQL UPDATE statement may seem ineffective, demonstrates the difference between using commas and the AND operator for multi‑column updates, and provides the proper syntax to ensure the intended rows are modified.

DatabaseMySQLSQL syntax
0 likes · 3 min read
Why MySQL UPDATE Appears to Do Nothing and How to Fix It