Educational-MySQL / UDFs-written-in-Python

MySQL UDFs written in Python
GNU General Public License v3.0
2 stars 5 forks source link

sh: 1: python: not found #12

Closed Komport closed 7 years ago

Komport commented 7 years ago

If python2 not installed we will get below error.

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 ;
ShahriyarR commented 7 years ago

Here is the discussion for this bug: https://github.com/Educational-MySQL/UDFs-written-in-Python/pull/11