Jump to content

Recommended Posts

Вот такая вот проблемка, прошу объясните что за function ping, и помогите, пожалуйста исправить.

ERROR: mysql\connection.lua:63: attempt to call global 'mysql_ping' <a nil value> 

Функция:

function ping() 
    if (mysql_ping(MySQLConnection) == false) then 
        destroyDatabaseConnection() 
        connectToDatabase(nil) 
        if (mysql_ping(MySQLConnection) == false) then 
            logSQLError() 
            return false 
        end 
        return true 
    end 
  
    return true 
end 

Link to comment

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...