pcscodatu Posted May 7, 2022 Share Posted May 7, 2022 https://gyazo.com/ea3cb9fff22b0eeedbdcfad25b937811 So how i repair it, if it is a host problem we can fix it no problem https://gyazo.com/89b0dfd29ce578dd3ec0e8eb1b8c7b73 Link to comment
Addlibs Posted May 8, 2022 Share Posted May 8, 2022 The error is telling you that mysql_ping function is not defined. Either this script wasn't written for MTA, or it was written to be used with a server module (modules allow server-side Lua to call functions implemented in C or C++). This code in particular appears to want to handle a MySQL connection; this is very deprecated way of doing things as MTA has built-in support for SQLite and MySQL connections though the dbConnect and other db* functions. To fix your issue, you either need to find the module for which this code was written (not recommended, MySQL modules are old and outdated nowadays), or redesign the code to use MTA's built-in db* functions. Link to comment
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now