mysql
#1

Hello i have problem!
server log
Code:

----------
Loaded log file: "server_log.txt".
----------

SA-MP Dedicated Server
----------------------
v0.3c R2, ©2005-2011 SA-MP Team

[14:51:52] filterscripts = ""  (string)
[14:51:52] 
[14:51:52] Server Plugins
[14:51:52] --------------
[14:51:52]  Loading plugin: mysql.dll
[14:51:52]  SA:MP MySQL Plugin v2.1.1 Loaded.
[14:51:52]   Loaded.
[14:51:52]  Loading plugin: sampmysql.dll
[14:51:52] 
/************************************************/
/* SAMP-MySQL v0.1 Plugin loaded successfully ! */
/************************************************/

[14:51:52]   Loaded.
[14:51:52]  Loading plugin: sscanf.dll
[14:51:52] [MySQL] Thread running. Threadsafe: Yes.
[14:51:52] 

[14:51:52]  ===============================

[14:51:52]       sscanf plugin loaded.     

[14:51:52]    © 2009 Alex "Y_Less" Cole

[14:51:52]  ===============================

[14:51:52]   Loaded.
[14:51:52]  Loading plugin: whirlpool.dll
[14:51:52]  
[14:51:52]  ==================
[14:51:52]  
[14:51:52]   Whirlpool loaded
[14:51:52]  
[14:51:52]  ==================
[14:51:52]  
[14:51:52]   Loaded.
[14:51:52]  Loaded 4 plugins.

[14:51:52] 
[14:51:52] Filter Scripts
[14:51:52] ---------------
[14:51:52]   Loaded 0 filter scripts.

[14:51:52] [MySQL] Error (0): Failed to connect. Access denied for user 'root'@'localhost' (using password: YES). 
[14:51:52] Number of vehicle models: 0
mysql log
Code:
[Sun Aug 21 14:51:52 2011] -------------------------
[Sun Aug 21 14:51:52 2011]      Logging Started
[Sun Aug 21 14:51:52 2011] -------------------------
[Sun Aug 21 14:51:52 2011] Error (0): Failed to connect. Access denied for user 'root'@'localhost' (using password: YES).
pawno
Code:
#define MySQL_host      "localhost"
#define MySQL_user      "root"
#define MySQL_pw        ""
#define MySQL_db        "test"

	Connection = mysql_init();
	mysql_connect(MySQL_host, MySQL_user, MySQL_pw, MySQL_db, Connection, 1);
Reply


Messages In This Thread
mysql - by tarmo - 21.08.2011, 11:52
Re: mysql - by Hiddos - 21.08.2011, 12:17
Re: mysql - by tarmo - 21.08.2011, 12:27
Respuesta: mysql - by uprp - 21.08.2011, 12:49
Re: mysql - by tarmo - 21.08.2011, 12:55
Re: mysql - by FireCat - 21.08.2011, 12:59
Re: mysql - by tarmo - 21.08.2011, 13:03
Re: mysql - by tarmo - 21.08.2011, 17:21

Forum Jump:


Users browsing this thread: 2 Guest(s)