Fail Connection
#1

Код:
SA-MP Dedicated Server
----------------------
v0.3b R2, ©2005-2010 SA-MP Team

[22:21:42] 
[22:21:42] Server Plugins
[22:21:42] --------------
[22:21:42]  Loading plugin: mysql
[22:21:53] 

  > MySQL plugin R5 successfully loaded.

[22:21:53]   Loaded.
[22:21:53]  Loading plugin: dns
[22:21:53] 

*** DNS Plugin v2.4 by Incognito loaded ***


[22:21:53]   Loaded.
[22:21:53]  Loading plugin: sscanf
[22:21:53] 

[22:21:53]  ===============================

[22:21:53]       sscanf plugin loaded.     

[22:21:53]    © 2009 Alex "******" Cole

[22:21:53]  ===============================

[22:21:53]   Loaded.
[22:21:53]  Loading plugin: streamer
[22:21:53] 

*** Streamer Plugin v2.3.8 by Incognito loaded ***

[22:21:53]   Loaded.
[22:21:53]  Loaded 4 plugins.

[22:21:53] 
[22:21:53] Ban list
[22:21:53] --------
[22:21:53]  Loaded: samp.ban
[22:21:53] 
[22:21:53] 
[22:21:53] Filter Scripts
[22:21:53] ---------------
[22:21:53]   Loading filter script 'banhost.amx'...
[22:21:53]   Loaded 1 filter scripts.

[22:21:54] foreach called
[22:21:56] Test
[22:21:56] Test
[22:21:57] Test
[22:21:57]  | Roleplay.|
[22:21:57] Number of vehicle models: 23
[22:25:52] Incoming connection: 10.0.0.2:57173
[22:25:52] [join] Toni_Carlos has joined the server (0:10.0.0.2)
[22:25:56] fail connection
[22:25:56] fail connection
[22:25:56] fail connection
[22:25:56] fail connection
[22:25:56] fail connection
[22:25:56] fail connection
[22:25:56] fail connection
[22:25:56] fail connection
[22:25:56] fail connection
[22:25:56] fail connection
and fail connection continues to appear till i gotta close the CMD.

Код:
[22:26:52] MySQL Debugging activated (10/12/10)

[22:26:52] ---------------------------

[22:26:52]  

[22:26:52] >> mysql_connect( )

[22:26:52] CMySQLHandler::CMySQLHandler() - constructor called.

[22:26:52] CMySQLHandler::CMySQLHandler() - Connecting to "127.0.0.1" | DB: "playervehicles" | Username: "root" ...

[22:26:53] CMySQLHandler::Connect() - Can't connect to MySQL server on '127.0.0.1' (10061) (Error ID: 2003)

[22:26:53] >> mysql_query( Connection handle: 1 )

[22:26:53] CMySQLHandler::Query() - You cannot call this function now. (Reason: Connection is dead)

[22:27:57] >> mysql_ping( Connection handle: 1 )

[22:27:57] CMySQLHandler::Ping() - You cannot call this function now. (Reason: Dead Connection)

[22:27:57] >> mysql_reconnect( Connection handle: 1 )

[22:27:57] CMySQLHandler::Disconnect() - You cannot call this function now. (Reason: Connection is dead)

[22:27:58] CMySQLHandler::Connect() - Can't connect to MySQL server on '127.0.0.1' (10061) (Error ID: 2003)

[22:27:58] >> mysql_ping( Connection handle: 1 )

[22:27:58] CMySQLHandler::Ping() - You cannot call this function now. (Reason: Dead Connection)

[22:27:58] >> mysql_reconnect( Connection handle: 1 )

[22:27:58] CMySQLHandler::Disconnect() - You cannot call this function now. (Reason: Connection is dead)

[22:27:59] CMySQLHandler::Connect() - Can't connect to MySQL server on '127.0.0.1' (10061) (Error ID: 2003)

[22:27:59] >> mysql_ping( Connection handle: 1 )

[22:27:59] CMySQLHandler::Ping() - You cannot call this function now. (Reason: Dead Connection)

[22:27:59] >> mysql_reconnect( Connection handle: 1 )

[22:27:59] CMySQLHandler::Disconnect() - You cannot call this function now. (Reason: Connection is dead)

[22:28:00] CMySQLHandler::Connect() - Can't connect to MySQL server on '127.0.0.1' (10061) (Error ID: 2003)

[22:28:00] >> mysql_ping( Connection handle: 1 )

[22:28:00] CMySQLHandler::Ping() - You cannot call this function now. (Reason: Dead Connection)
My MySQL log, code it be my database is buggy ?
Reply
#2

Show your MySQL connection code. (If you use defines in the mysql_connect function, show them too)

Also make sure that you have started your server manager (WAMP/XAMP).
Reply
#3

What connection code ?
Reply
#4

When you attempt to connect to the database.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)