Needing Help With This Error on Start Up


How in the world do i sort this?

[ERROR] [MySQL] An error happens on MySQL for query “SELECT * FROM items {=}”: Connect Timeout expired.
Connecting: MrGarcia
Error running call reference function for resource es_extended: server/main.lua:78: attempt to index a nil value (field ‘?’)
stack traceback:
server/main.lua:78: in local 'ref’
citizen:/scripting/lua/scheduler.lua:317: in function citizen:/scripting/lua/scheduler.lua:308
[ERROR] [MySQL] Check the error above, an error happens when executing the callback from the query : "SELECT * FROM user_inventory WHERE identifier = @identifier {@identifier=steam:110000107fe7666}"
Error running system event handling function for resource esx_status: citizen:/scripting/lua/scheduler.lua:41: Failed to execute thread: server/main.lua:71: attempt to index a nil value (local ‘xPlayer’)
stack traceback:
server/main.lua:71: in upvalue 'handler’
citizen:/scripting/lua/scheduler.lua:163: in function citizen:/scripting/lua/scheduler.lua:162
stack traceback:
[C]: in function 'error’
citizen:/scripting/lua/scheduler.lua:41: in field 'CreateThreadNow’
citizen:/scripting/lua/scheduler.lua:162: in function citizen:/scripting/lua/scheduler.lua:131(edited)

This comes up so it doesnt load in my character.
Any ideas?