mysql> select factorial(1);
ERROR 2013 (HY000): Lost connection to MySQL server during query
mysql> 2016-12-12T08:33:46.631975Z mysqld_safe Number of processes running now: 0
2016-12-12T08:33:46.632767Z mysqld_safe mysqld restarted
Error log
sh: 1: python: not found
terminate called after throwing an instance of 'std::invalid_argument'
what(): stol
08:33:41 UTC - mysqld got signal 6 ;
If python2 not installed we will get below error.
Error log