#define SQL_HOST "Your DB Host" #define SQL_USER "DB Username" #define SQL_PASS "DB Pass" #define SQL_DB "DB Name"//
---------- Loaded log file: "server_log.txt". ---------- SA-MP Dedicated Server ---------------------- v0.3.7-R2, ©2005-2015 SA-MP Team [12:33:54] [12:33:54] Server Plugins [12:33:54] -------------- [12:33:54] Loading plugin: mysql.dll [12:33:54] > MySQL plugin R5 successfully loaded. [12:33:54] Loaded. [12:33:54] Loaded 1 plugins. [12:33:54] [12:33:54] Filterscripts [12:33:54] --------------- [12:33:54] Loading filterscript 'npcs.amx'... [12:33:55] [connection] 127.0.0.1:64976 requests connection cookie. [12:33:55] [connection] 127.0.0.1:64975 requests connection cookie. [12:33:55] [connection] 127.0.0.1:64978 requests connection cookie. [12:33:55] [connection] 127.0.0.1:64977 requests connection cookie. [12:33:55] [connection] 127.0.0.1:64980 requests connection cookie. [12:33:55] [connection] 127.0.0.1:64979 requests connection cookie. [12:33:55] [connection] 127.0.0.1:64981 requests connection cookie. [12:33:55] [connection] 127.0.0.1:64982 requests connection cookie. [12:33:55] Loaded 1 filterscripts. [12:33:55] [connection] 127.0.0.1:64983 requests connection cookie. [12:33:55] [connection] 127.0.0.1:64984 requests connection cookie. [12:33:55] [connection] 127.0.0.1:64985 requests connection cookie. [12:33:55] [connection] 127.0.0.1:64986 requests connection cookie. [12:33:55] [connection] 127.0.0.1:64987 requests connection cookie. [12:33:55] [connection] 127.0.0.1:64988 requests connection cookie. [12:33:55] [connection] 127.0.0.1:64990 requests connection cookie. [12:33:55] [connection] 127.0.0.1:64989 requests connection cookie. [12:33:56] [MYSQL]: [ERROR]: Connection To `testee` Failed! [12:33:56] [MYSQL]: Could Not Retrieve Field - Shutting Down Server. [12:33:58] [12:33:58] Number of vehicle models: 125 [12:33:58] --- Server Shutting Down. |
#define SQL_HOST "Your DB Host" // o local da sua data base, se for localhost pode deixar localhost ou o endereзo da database
#define SQL_USER "DB Username" //usuario da database
#define SQL_PASS "DB Pass" // senha da database
#define SQL_DB "DB Name"//nome da database
Saudaзхes !
O prуprio nome dos macros jб diz o significado ! PHP Code:
|