So this was working a few minutes ago, I went to go eat and came back, hadn’t touched a thing but now my mysqloo database connection no longer works. It doesn’t give an error and it’s status is always on connecting. I’ve checked the remote access to my database… and there were no problems there. Any ideas?
function connectToDatabase() databaseObject = mysqloo.connect(DATABASE_HOST, DATABASE_USERNAME, DATABASE_PASSWORD, DATABASE_NAME, DATABASE_PORT) databaseObject.onConnect = function() print ("Database connected") end databaseObject.onConnectionFailed = function() print ("Database Connection Failed!") end databaseObject:connect() end
The function itself is running because I inserted print statements in there to verify some sort of call.