MySQL database on client side file (question)

Hey guys how can I call a Database query like this on a client side file:

[LUA]SV_DATABASE:Query(“UPDATE test SET value = value + 1 WHERE hp = 100;”)[/LUA]

I’m using tmysql4 but im open to any kind of solution

Serve side code that im using:

[LUA] Msg("Loading tmysql module…
");
require(“tmysql4”);

if (tmysql) then
	Msg("Loaded tmysql module... 

");
else
Msg("Failed to load tmysql module…
");
end

// Connection: HOST - USER - PASSWORD - DATABASE - PORT
local db, err = tmysql.initialize("x", "y", "z", "w", i);

if db then

	MsgC( Color( 0, 255, 0 ), "[MySQL] Database has connected!

" )
SV_DATABASE = db

else

	MsgC( Color( 255, 0, 0 ), "[MySQL] Error connecting to Database:

" )
print(err)

end

db = nil
err = nil[/LUA]

You don’t.

You do it on the server, and send the result to the client through net message.

Thanks, I was kinda dumb lel