Skip to content

Unexpected error when using schema:dump - mysqldump: Couldn't execute 'SHOW FUNCTION STATUS WHERE Db = 'database'': #35784

@danielbachhuber

Description

@danielbachhuber

Documenting this error for the next person that runs into it...

  • Laravel Version: 8.20.1
  • PHP Version: 7.4.12
  • Database Driver & Version: mysql Ver 15.1 Distrib 10.5.8-MariaDB, for osx10.15 (x86_64)

Description:

When I ran php artisan schema:dump --prune, I saw this error:

mysqldump: Couldn't execute 'SHOW FUNCTION STATUS WHERE Db = 'database'': Cannot load from mysql.proc. The table is probably corrupted (1728)

The solution was to run mysql_upgrade and restart MariaDB.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions