• MySQL Problem with Pointshop
    2 replies, posted
Hello, i have a problem with mysql and pointshop (I have a Linux rootserver). I have the libmysqlclient.so.18 file in the folder, where srcds_linux and srcds_run is and the gmsv_mysqloo_linux.dll file in /garrysmod/lua/bin/. I changed pdata to mysql and also typed my mysql password and so on in mysql.lua. I also imported the pointshop.sql file into my database. But I still get this error: [CODE][ERROR] addons/pointshop-master/lua/pointshop/providers/mysql.lua:59: attempt to call method 'GetFallback' (a nil value) 1. GetData - addons/pointshop-master/lua/pointshop/providers/mysql.lua:59 2. GetPlayerData - addons/pointshop-master/lua/pointshop/sv_init.lua:274 3. PS_LoadData - addons/pointshop-master/lua/pointshop/sv_player_extension.lua:102 4. unknown - addons/pointshop-master/lua/pointshop/sv_player_extension.lua:38[/CODE] Can someone help me maybe? I already googled, but there was no solution. Thank you! :)
I also tried tmysql, but then I have this error: [CODE][ERROR] addons/pointshop-master/lua/pointshop/sv_init.lua:274: attempt to index field 'DataProvider' (a nil value) 1. GetPlayerData - addons/pointshop-master/lua/pointshop/sv_init.lua:274 2. PS_LoadData - addons/pointshop-master/lua/pointshop/sv_player_extension.lua:102 3. unknown - addons/pointshop-master/lua/pointshop/sv_player_extension.lua:38[/CODE]
I saw now this error on startup: [QUOTE]Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2)[/QUOTE]
Sorry, you need to Log In to post a reply to this thread.