Pomoc?

Započeo Luka_Scripting, Maj 24, 2020, 16:36:29 POSLE PODNE

prethodna tema - sledeća tema

0 članova i 1 gost pregledaju ovu temu.

Problem(error/warning): Ako moze neko da mi ovo sredi da mogu da ubacim u host
Dio skripte:
[pawn]#define kucni

#if defined kucni
    #define MYSQL_HOST "127.0.0.1"
   #define MYSQL_USER "eUser21499"
   #define MYSQL_PASS "55nike18504kurac"
   #define MYSQL_DB "vibegaming"
#else
    #define MYSQL_HOST "127.0.0.1"
   #define MYSQL_USER "eUser21499"
   #define MYSQL_PASS "55nike18504kurac"
   #define MYSQL_DB "vibegaming"
#endif

new _dbConnector, sql_str[ 128 ];

[/pawn]Debug iz mysql_log(ukoliko je u pitanju crashanje servera - crashdetect log): [pawn][10:55:10] [ERROR] CMySQLConnection::Connect - (error #2003) Can't connect to MySQL server on 'localhost' (10061)
[10:55:10] [DEBUG] CMySQLConnection::Connect - establishing connection to database...
[10:55:10] [DEBUG] CMySQLConnection::Connect - establishing connection to database...
[10:55:10] [DEBUG] CMySQLConnection::Connect - establishing connection to database...
[10:55:11] [DEBUG] mysql_tquery - connection: 1, query: "SELECT bussines.*, IFNULL(users.p_name, 'Drzava') AS `p_name` FR", callback: "OnBussinesLoad", format: "(null)"
[10:55:11] [DEBUG] mysql_tquery - connection: 1, query: "SELECT * FROM `buildings`", callback: "OnBuildingsLoad", format: "(null)"
[10:55:11] [DEBUG] mysql_pquery - connection: 1, query: "SELECT hotels.*, IFNULL(users.p_name, 'Drzava') AS `p_name` FROM", callback: "OnHotelsLoad", format: "(null)"
[10:55:11] [DEBUG] mysql_pquery - connection: 1, query: "SELECT * FROM `vehicle_salon`", callback: "OnVehSalonsLoad", format: "(null)"
[10:55:11] [DEBUG] mysql_pquery - connection: 1, query: "SELECT * FROM `gates`", callback: "OnGatesLoad", format: "(null)"
[10:55:11] [DEBUG] mysql_pquery - connection: 1, query: "SELECT * FROM `actors`", callback: "OnActorsLoad", format: "(null)"
[10:55:11] [DEBUG] mysql_tquery - connection: 1, query: "SELECT * FROM `plate`", callback: "OnPlateLoad", format: "(null)"
[10:55:11] [DEBUG] mysql_pquery - connection: 1, query: "SELECT * FROM `containers`", callback: "OnContainersLoad", format: "(null)"
[10:55:11] [DEBUG] mysql_pquery - connection: 1, query: "SELECT * FROM `platforme`", callback: "OnPlatformsLoad", format: "(null)"
[10:55:11] [DEBUG] mysql_pquery - connection: 1, query: "SELECT * FROM `farme`", callback: "OnFarmeLoad", format: "(null)"
[10:55:11] [DEBUG] mysql_pquery - connection: 1, query: "SELECT * FROM `atms`", callback: "OnATMsLoad", format: "(null)"
[10:55:11] [DEBUG] mysql_pquery - connection: 1, query: "SELECT * FROM `gps`", callback: "OnGpsLocationsLoad", format: "(null)"
[10:55:14] [ERROR] CMySQLConnection::Connect - (error #2003) Can't connect to MySQL server on 'localhost' (10061)
[10:55:14] [ERROR] CMySQLConnection::Connect - (error #2003) Can't connect to MySQL server on 'localhost' (10061)
[10:56:07] [DEBUG] mysql_format - connection: 1, len: 128, format: "SELECT `user_id`, `password`, `registered` FROM `users` WHERE `p_name` = '%e' LIMIT 1"
[10:56:07] [DEBUG] mysql_tquery - connection: 1, query: "SELECT `user_id`, `password`, `registered` FROM `users` WHERE `p", callback: "CheckPlayerAccount", format: "i"
[12:47:21] [ERROR] CMySQLConnection::Connect - (error #2003) Can't connect to MySQL server on 'localhost' (10061)
[12:47:21] [DEBUG] CMySQLConnection::Connect - establishing connection to database...
[12:47:21] [DEBUG] CMySQLConnection::Connect - establishing connection to database...
[12:47:21] [DEBUG] CMySQLConnection::Connect - establishing connection to database...
[12:47:22] [DEBUG] mysql_tquery - connection: 1, query: "SELECT bussines.*, IFNULL(users.p_name, 'Drzava') AS `p_name` FR", callback: "OnBussinesLoad", format: "(null)"
[12:47:22] [DEBUG] mysql_tquery - connection: 1, query: "SELECT * FROM `buildings`", callback: "OnBuildingsLoad", format: "(null)"
[12:47:22] [DEBUG] mysql_pquery - connection: 1, query: "SELECT hotels.*, IFNULL(users.p_name, 'Drzava') AS `p_name` FROM", callback: "OnHotelsLoad", format: "(null)"
[12:47:22] [DEBUG] mysql_pquery - connection: 1, query: "SELECT * FROM `vehicle_salon`", callback: "OnVehSalonsLoad", format: "(null)"
[12:47:22] [DEBUG] mysql_pquery - connection: 1, query: "SELECT * FROM `gates`", callback: "OnGatesLoad", format: "(null)"
[12:47:22] [DEBUG] mysql_pquery - connection: 1, query: "SELECT * FROM `actors`", callback: "OnActorsLoad", format: "(null)"
[12:47:22] [DEBUG] mysql_tquery - connection: 1, query: "SELECT * FROM `plate`", callback: "OnPlateLoad", format: "(null)"
[12:47:23] [DEBUG] mysql_pquery - connection: 1, query: "SELECT * FROM `containers`", callback: "OnContainersLoad", format: "(null)"
[12:47:23] [DEBUG] mysql_pquery - connection: 1, query: "SELECT * FROM `platforme`", callback: "OnPlatformsLoad", format: "(null)"
[12:47:23] [DEBUG] mysql_pquery - connection: 1, query: "SELECT * FROM `farme`", callback: "OnFarmeLoad", format: "(null)"
[12:47:23] [DEBUG] mysql_pquery - connection: 1, query: "SELECT * FROM `atms`", callback: "OnATMsLoad", format: "(null)"
[12:47:23] [DEBUG] mysql_pquery - connection: 1, query: "SELECT * FROM `gps`", callback: "OnGpsLocationsLoad", format: "(null)"
[12:47:25] [ERROR] CMySQLConnection::Connect - (error #2003) Can't connect to MySQL server on 'localhost' (10061)
[12:47:25] [ERROR] CMySQLConnection::Connect - (error #2003) Can't connect to MySQL server on 'localhost' (10061)
[12:47:25] [ERROR] CMySQLConnection::Connect - (error #2003) Can't connect to MySQL server on 'localhost' (10061)
[12:47:53] [DEBUG] mysql_format - connection: 1, len: 128, format: "SELECT `user_id`, `password`, `registered` FROM `users` WHERE `p_name` = '%e' LIMIT 1"
[12:47:53] [DEBUG] mysql_tquery - connection: 1, query: "SELECT `user_id`, `password`, `registered` FROM `users` WHERE `p", callback: "CheckPlayerAccount", format: "i"
[/pawn]
slika/video ingame problema(obavezno ako je ingame problem): link slike
Poslednja Izmena: Maj 24, 2020, 16:37:58 POSLE PODNE od Luka_Scripting

Pomoc pls jako je hitno?
@Teodor @Shadow. neko bilo ko?
Poslednja Izmena: Maj 24, 2020, 16:53:28 POSLE PODNE od Luka_Scripting

A da kreiraš bazu i usera sa tom šifrom?

Citat: Makenzi Dosao Da Kaze Nes poslato Maj 24, 2020, 17:02:18 POSLE PODNE
A da kreiraš bazu i usera sa tom šifrom?
jesam ovo mi je sve kao u hostu
al mi je nejasno ovo MYSQL_HOST sta ide tu dal ip servera ili ...