Run time error 19 (file or function not found) means a function used in the mode (more specifically a native function: a function declared with "native", eg. "native print(const string[])") wasn't found. Such functions should exist in either the standard samp runtime or a plugin.
Make sure that the MySQL plugin is loaded.
If it is, you are using an incorrect version. For example, if you are using the latest version (R41-4) it would be incompatible with old scripts. cache_get_field_content (one of the functions not found according to your log) for example is a function from before version R40: https://github.com/pBlueG/SA-MP-MySQL/releases/tag/R40
Check the changelogs here and find out what function should be what and change this in your copied script.
Make sure that the MySQL plugin is loaded.
If it is, you are using an incorrect version. For example, if you are using the latest version (R41-4) it would be incompatible with old scripts. cache_get_field_content (one of the functions not found according to your log) for example is a function from before version R40: https://github.com/pBlueG/SA-MP-MySQL/releases/tag/R40
Quote:renamed cache_get_field_content to cache_get_value_name (_int and _float likewise)
Check the changelogs here and find out what function should be what and change this in your copied script.