PERROR(1)
πΈ PERROR(1) β the "what does this error even MEAN" decoder ring πΈ
okay bestie so this page lives in the MariaDB Database System manual, section 1, and it's about a tiny little utility called perror that will β¨translateβ¨ your cryptic error codes into actual human words. no cap.
π NAME π
perror β explain error codes
π SYNOPSIS π
perror [options] errorcode ...
π¦ DESCRIPTION π¦
so here's the vibe: whenever MariaDB hits most system errors, it doesn't just give you its own internal text message β it also hands you the system error code, and it does it in one of these two fits:
message ... (errno: #)
message ... (Errcode: #)
and you're sitting there likeβ¦ okay bestie what does # mean π. well. you can figure out what that error code means by digging through your system's documentation, OR β and this is the iconic option β by using the perror utility. she's here to help.
perror prints out a description for a system error code or for a storage engine (table handler) error code. both. she does both.
you invoke her like this:
shell> perror [options] errorcode ...
and here's a real live example, look at her go:
shell> perror 13 64
OS error code 13: Permission denied
OS error code 64: Machine is not on the network
β οΈ heads up bestie: the meaning of system error messages can be dependent on your operating system. a given error code may mean completely different things on different operating systems. so like, don't @ your friend on a different OS and assume y'all are speaking the same language. you are not. π
perror supports the following options:
--help,--info,-I,-?β shows you a help message and then exits. she's helpful like that π«Ά--silent,-sβ silent mode. prints only the error message, nothing else. minimal. mysterious. main character energy.--verbose,-vβ verbose mode. prints the error code AND the message. this one is the default behavior, so if you didn't ask for anything, this is what you're getting π--version,-Vβ displays version information and exits. she'll tell you who she is π
π COPYRIGHT π
Copyright 2007-2008 MySQL AB, 2008-2010 Sun Microsystems, Inc., 2010-2025 MariaDB Foundation
This documentation is free software; you can redistribute it and/or modify it only under the terms of the GNU General Public License as published by the Free Software Foundation; version 2 of the License.
This documentation is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with the program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1335 USA or see http://www.gnu.org/licenses/.
no like fr fr, read the license. it's giving legally binding and it's also giving "please read me" π
π SEE ALSO π
For more information, please refer to the MariaDB Documentation, available online at https://mariadb.com/docs/
β¨ AUTHOR β¨
MariaDB Foundation (http://www.mariadb.org/).
and that's the whole page, bestie π MariaDB 11.8, dated 5 March 2025 β so she's fresh, she's current, she's PERROR(1) and she ate. now go decode those error codes, you've got this ππ¦
π¦ where this page comes from
- ubuntu stonking: mariadb-client 1:11.8.9+ds-4ubuntu2 Β· GPL-2.0-only
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms