Hallo,
Ich habe Probleme mit mein MYSQL ich kriege in den Logs folgende Errors:
[19:33:37] [ERROR] mysql_errno - invalid connection handle (id: 0)
[19:33:37] [ERROR] mysql_tquery - invalid connection handle (id: 0)
[19:33:37] [ERROR] mysql_format - invalid connection handle (id: 0)
[19:33:37] [ERROR] mysql_tquery - invalid connection handle (id: 0)
[19:33:37] [ERROR] mysql_tquery - invalid connection handle (id: 0)
[19:33:37] [ERROR] mysql_tquery - invalid connection handle (id: 0)
[19:33:37] [ERROR] mysql_tquery - invalid connection handle (id: 0)
[19:33:37] [ERROR] mysql_tquery - invalid connection handle (id: 0)
[19:33:37] [ERROR] mysql_tquery - invalid connection handle (id: 0)
[19:33:37] [ERROR] mysql_tquery - invalid connection handle (id: 0)
[19:33:37] [ERROR] mysql_tquery - invalid connection handle (id: 0)
[19:33:37] [ERROR] mysql_tquery - invalid connection handle (id: 0)
[19:33:37] [ERROR] mysql_tquery - invalid connection handle (id: 0)
[19:33:37] [ERROR] mysql_tquery - invalid connection handle (id: 0)
Alles anzeigen
(( https://sampwiki.blast.hk/wiki/MySQL/R33 )) (check Cache Functions )
>> mysql_connect - Description: -Connects to a MySQL server and database.
>> mysql_option---Description:-----Sets global options regarding the MySQL plugin.
>> mysql_errno --Description--- Returns the error code of the error message from the previous MySQL operation.
// ======================================================================= //MySQL DEFF DB
#define MySQL_Host "localhost"
#define MySQL_User "root"
#define MySQL_DB "DataBaza"
#define MySQL_Pass " "
// ======================================================== // MySQL Dates //
mysql_log(LOG_ERROR | LOG_WARNING | LOG_DEBUG);
mysql = mysql_connect(MySQL_Host, MySQL_User, MySQL_DB, MySQL_Pass);
// ================================================================== //
23. "// "