I am running a PHP script that does a lot of mysql work
At some point, mysql crashes without printing any errors.
I would like to go to mysql from the console and ask what was the last error.
How can i do this?
(I know php mysql_error (), but I am looking for a mysql command that I can run directly regardless of php script)
source
share