[Ajuda] Error ID: 1045 [ MySql ] - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: Non-English (
https://sampforum.blast.hk/forumdisplay.php?fid=9)
+--- Forum: Languages (
https://sampforum.blast.hk/forumdisplay.php?fid=33)
+---- Forum: Português/Portuguese (
https://sampforum.blast.hk/forumdisplay.php?fid=34)
+---- Thread: [Ajuda] Error ID: 1045 [ MySql ] (
/showthread.php?tid=451996)
Error ID: 1045 [ MySql ] -
Don_Speed - 19.07.2013
Bom o titulo especifica !
LOG do MySql
PHP код:
[11:51:42] >> mysql_connect(localhost, root, Advanced, ******) on port 3306
[11:51:42] CMySQLHandler::CMySQLHandler() - constructor called.
[11:51:42] CMySQLHandler::CMySQLHandler() - Connecting to "localhost" | DB: "Advanced" | Username: "root"
[11:51:42] CMySQLHandler::Connect() - Access denied for user 'root'@'localhost' (using password: YES) (Error ID: 1045)
[11:51:42]
[11:51:42] ** MySQL Debugging enabled (07/19/13)
[11:51:42]
[11:51:42] >> mysql_ping( Connection handle: 1 )
[11:51:42] CMySQLHandler::Ping() - You cannot call this function now. (Reason: Dead Connection)
[11:51:42] >> mysql_query_callback( Connection handle: 1 )
[11:51:42] >> mysql_query_callback( Connection handle: 1 )
[11:51:42] >> mysql_query_callback( Connection handle: 1 )
[11:51:42] >> mysql_query_callback( Connection handle: 1 )
[11:51:42] >> mysql_query_callback( Connection handle: 1 )
[11:51:42] >> mysql_query_callback( Connection handle: 1 )
[11:51:42] >> mysql_query_callback( Connection handle: 1 )
[11:51:42] >> mysql_query_callback( Connection handle: 1 )
[11:51:42] >> mysql_query_callback( Connection handle: 1 )
Log do servidor
PHP код:
----------
Loaded log file: "server_log.txt".
----------
SA-MP Dedicated Server
----------------------
v0.3x, (C)2005-2013 SA-MP Team
[11:53:12] filterscripts = "" (string)
[11:53:12]
[11:53:12] Server Plugins
[11:53:12] --------------
[11:53:12] Loading plugin: mysql
[11:53:12]
> MySQL plugin R7 successfully loaded.
[11:53:12] Loaded.
[11:53:12] Loading plugin: sscanf
[11:53:12]
[11:53:12] ===============================
[11:53:12] sscanf plugin loaded.
[11:53:12] Version: 2.8.1
[11:53:12] (c) 2012 Alex "******" Cole
[11:53:12] ===============================
[11:53:12] Loaded.
[11:53:12] Loading plugin: streamer
[11:53:12]
*** Streamer Plugin v2.6.1 by Incognito loaded ***
[11:53:12] Loaded.
[11:53:12] Loaded 3 plugins.
[11:53:12]
[11:53:12] Filterscripts
[11:53:12] ---------------
[11:53:12] Loaded 0 filterscripts.
[11:53:12] Load Biz
[11:53:12] [SCRIPT]: Carregado 4747 objetos
[11:53:12] MAX_VEHICLES: 2000
[11:53:12] Gamemode carregado com sucesso!
[11:53:12] Number of vehicle models: 0
Porque acontece isso
Re: Error ID: 1045 [ MySql ] -
mau.tito - 19.07.2013
Nome da sua database esta incorreto com o que vocк criou .
Re: Error ID: 1045 [ MySql ] -
Don_Speed - 19.07.2013
Quote:
Originally Posted by mau.tito
Nome da sua database esta incorreto com o que vocк criou .
|
funciono , mas quando entro no server ele cai
Log MySql:
pawn Код:
[15:01:07] Passing query SELECT * FROM `Aceitos` WHERE `Name` = 'Maurilio Moraes' AND `Aceito` = '1' LIMIT 1 | d
[15:01:07] ProcessQueryThread(_checkAccount) - Query was successful. (SELECT * FROM `Aceitos` WHERE `Name` = 'Maurilio Moraes' AND `Aceito` = '1' LIMIT 1)
[15:01:07] ProcessQueryThread(_checkAccount) - Data caching enabled.
[15:01:07] CMySQLHandler::StoreResult() - Result was stored.
[15:01:07] CMySQLHandler::FreeResult() - Result was successfully free'd.
[15:01:07] CMySQLHandler::ProcessQueryThread() - Data is getting passed to ->ProcessTick()
[15:01:07] _checkAccount(d) - Threaded function called.
[15:01:07] >> cache_get_data( Connection handle: 1 )
[15:01:07] ProcessTick() - The cache has been cleared.
Re: Error ID: 1045 [ MySql ] -
n0minal - 19.07.2013
Nгo estб faltando a password ai nгo?...
Re: Error ID: 1045 [ MySql ] -
Don_Speed - 19.07.2013
Quote:
Originally Posted by n0minal
Nгo estб faltando a password ai nгo?...
|
e sem passaword msm.
Re: Error ID: 1045 [ MySql ] -
n0minal - 19.07.2013
Quote:
Originally Posted by Don_Speed
e sem passaword msm.
|
Vocк precisa informar a senha Don... mesmo que vocк esteja usando XAMPP, tenta deixar o campo da string da senha em "" ...
O erro diz que o acesso foi negado para o usuбrio 'root' da conexгo 'localhost' e estб a usar uma senha mas ela nгo foi informada...
Код:
Access denied for user 'root'@'localhost' (using password: YES) (Error ID: 1045)
Qual web server vocк estб a usar?