Inspect truncation, coercion, and non-fatal issues.
Section: mysql client basics
Display warnings from the last statement
sql
sql
SHOW WARNINGS;Explanation
Very useful after bulk imports or `INSERT ... SELECT` statements.
Learn the surrounding workflow
Compare similar commands or jump into common fixes when this command is part of a bigger troubleshooting path.
Related commands
Same sheet · prioritizing mysql client basics
Connect to a remote host and port
Specify the host, port, user, and prompt for a password.
Connect directly to a database
Open mysql and select the target schema immediately.