Hi,
ich habe ein Problemm benutze ein Windows Server und habe nun in mein Selfmade sampmysql eingebaut von hier
Aber irgendwie bekomme ich hier diese fehler ?
ZitatAlles anzeigen
----------
Loaded log file: "server_log.txt".
----------
SA-MP Dedicated Server
----------------------
v0.3c, (C)2005-2010 SA-MP Team
[02:06:00] filterscripts = "" (string)
[02:06:00]
[02:06:00] Server Plugins
[02:06:00] --------------
[02:06:00] Loading plugin: sampmysql
[02:06:00]
/*************************************************/
/* SAMP-MySQL v0.15 Plugin loaded successfully ! */
/*************************************************/
[02:06:00] Loaded.
[02:06:00] Loaded 1 plugins.
[02:06:00]
[02:06:00] Filter Scripts
[02:06:00] ---------------
[02:06:00] Loaded 0 filter scripts.
[02:06:00] MYSQL: Attempting to connect to server...
[02:06:00]
Connection to MySQL database: Failed !
[02:06:00] Access denied for user 'root' localhost (using password: YES)
[02:06:00] Error in mysql_select_db: MySQL server has gone away
[02:06:00] MYSQL: Connection error, retrying...
[02:06:00]
Connection to MySQL database: Failed !
[02:06:00] Access denied for user 'root' localhost (using password: YES)
[02:06:00] Error in mysql_select_db: MySQL server has gone away
[02:06:00] MYSQL: Could not reconnect to server, terminating server...
[02:06:00] Error in mysql_query: MySQL server has gone away
[02:06:00] Error in mysql_store_result: MySQL server has gone away
Obwohl ich alles richtig habe ?
#include <a_sampmysql>
#define MYSQL_HOST "localhost"
#define MYSQL_USER "root"
#define MYSQL_PASS "********"
#define MYSQL_DB "gtaserver"
Und in der phpmyadmin ist auch die Datenbank "gtaserver" mit dem .sql erstellt.
Aber ich verstehe nicht wieso er kein zugang bekommt ?
Jetzt habe ich das alles mal auf mein Home WIN7 Server getestet und da kommt genau das gleich ?
ZitatAlles anzeigen----------
Loaded log file: "server_log.txt".
----------
SA-MP Dedicated Server
----------------------
v0.3c, (C)2005-2010 SA-MP Team
[03:35:33] filterscripts = "" (string)
[03:35:33]
[03:35:33] Server Plugins
[03:35:33] --------------
[03:35:33] Loading plugin: sampmysql.dll
[03:35:33]
/*************************************************/
/* SAMP-MySQL v0.15 Plugin loaded successfully ! */
/*************************************************/
[03:35:33] Loaded.
[03:35:33] Loading plugin: libmysql.dll
[03:35:33] Plugin does not conform to architecture.
[03:35:33] Failed.
[03:35:33] Loaded 1 plugins.
[03:35:33]
[03:35:33] Filter Scripts
[03:35:33] ---------------
[03:35:33] Loaded 0 filter scripts.
[03:35:33] MYSQL: Attempting to connect to server...
[03:35:33]
Connection to MySQL database: Successfull !
[03:35:33] Error in mysql_select_db: Access denied for user 'Smithy' localhost to database 'smithy'
[03:35:33] MYSQL: Database connection established.
[03:35:33] Error in mysql_query: No database selected
[03:35:33] Error in mysql_store_result: No database selected
Ich verstehe nicht wieso der mit der Datenbank nicht Connecten will ?
PS: Ich Biete was dafür wenn mir einer helfen kann das Script und die Datenbank zum laufen zu bringem.
Edit // Text eingefügt
Edit // Biete nun was für eine Hilfe [eingefügt]