My (SQL) WorkLog: MySQL - Unfolding System error codes using perror

Thursday, June 11, 2009

MySQL - Unfolding System error codes using perror

If MySQL encounters any system errors the system error code in one of the following styles:

message ... (errno: #)
message ... (Errcode: #)

You can find out what the error code means by examining the documentation for your system or by using the perror utility.
perror prints a description for a system error code or for a storage engine (table handler) error code.
Invoke
perror like this:

shell> perror [options] errorcode ...
Example:

C:\ushastry\MySQL_Ent\bin>perror 2
OS error code 2: No such file or directory

Win32 error code 2: The system cannot find the file specified.

C:\ushastry\MySQL_Ent\bin>perror 3
OS error code 3: No such process

Win32 error code 3: The system cannot find the path specified.

1 comment:

Albert Andrada said...

Really Nice Information,Thank You Very Much For Sharing.
Wordpress Development Company

Post a Comment