Search the Community
Showing results for tags 'sql'.
Found 29 results
Hi guys! When working on a login panel I'll need to hash the password as I guess (since we wouldn't like our password te be plain string) My question tho, Can I choose my encryption type myself? I'm familiar with the MD5 Hash since that's what I'm taught on college. Should I use MD5 which I know or is there a better suggested one? Kind Regards
Hello i just have a question how i can be get the data from mysql like posX posY etc unction loginReguest(player,username,password) local check = exports.mysql:_QuerySingle("SELECT * FROM users WHERE username = ? " ,username) if check then local checkPass = check.password if (checkPass == password) then logIn(player,getAccount(username),getAccount(password)) triggerClientEvent(player,"showHide", getRootElement()) outputDebugString("User Logged In") end end end addEvent("logIn",true) addEventHandler("logIn",getRootElement(), loginReguest) but my character data is in the different table i want to get the player namemoney and the position but i cant figure out how i cant find any mysql tutorials for this. pls help
WARNING: sql/mysql.lua:47: Access denied @ 'shutdown' Start up of resource sql cancelled by script Stopping sql start: Resource 'sql' start was requested (Start up of resource cancelled by script) I have a few issues with my sql and mysql linking to my database, would appreciate any help