sql.Query not working

for i=0, 10 do 
	local query = "INSERT INTO antigavur ( SteamID64, Country ) VALUES ('213123"..i.."','"..(i*5).."')"
	print("QUERY OK FOR "..i)

I ran this code on my local dedicated server and it worked but when I run it on my hosted darkrp server, it doesn’t work. I checked that there is a table like antigavur and there wasnt any index. No errors

It’s solved after restart immediately.