You are welcome. :-)
For Perl, Python or Ruby, you have to copy all related executable and binary into the jail,
For MySQL, you can run it either inside or outside the jail, you can point the MySQL server socket to a path inside the jail like /chroot/tmp/mysql.sock, for applications inside...