/oss · 3 merged

dbcli/mycli

A MySQL command-line client with autocompletion and syntax highlighting.

the project on GitHub (opens in a new tab)
  1. 30 Nov 2026

    A vertical-output line no longer eats the next statement

    What was broken
    In scripts piped into mycli, a statement ending in the vertical output mark was sent together with the next one, so the run stopped with a syntax error.
    What I changed
    mycli now ends a statement at that mark too, as the mysql client does, and still prints the result vertically.
    Why it matters
    SQL scripts written for the mysql client run the same in mycli.

    see the code, #2485 (opens in a new tab)

  2. 14 Nov 2026

    A use line without a semicolon no longer eats the next statement

    What was broken
    Scripts often write use db without a semicolon, as the mysql client allows. Piped into mycli, that line swallowed the next statement and the run stopped with an unknown database error.
    What I changed
    mycli now ends use and source lines at the newline, the same way the mysql client does.
    Why it matters
    SQL scripts written for the mysql client run the same in mycli.

    see the code, #2433 (opens in a new tab)

  3. 13 Nov 2026

    SQL files with DELIMITER blocks now run

    What was broken
    Feeding mycli a SQL file that changes the delimiter, as every database dump with a trigger or stored procedure does, failed at the first one and the rest never ran.
    What I changed
    mycli now handles the DELIMITER line the way the standard mysql client does.
    Why it matters
    People can restore their database dumps with mycli.

    see the code, #2430 (opens in a new tab)

← every project