SA-MP Forums Archive
[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(localhostrootAdvanced, ******) on port 3306
[11:51:42CMySQLHandler::CMySQLHandler() - constructor called.
[
11:51:42CMySQLHandler::CMySQLHandler() - Connecting to "localhost" DB"Advanced" Username"root"
[11:51:42CMySQLHandler::Connect() - Access denied for user 'root'@'localhost' (using passwordYES) (Error ID1045)
[
11:51:42]  
[
11:51:42]  ** MySQL Debugging enabled (07/19/13)
[
11:51:42]  
[
11:51:42] >> mysql_pingConnection handle)
[
11:51:42CMySQLHandler::Ping() - You cannot call this function now. (ReasonDead Connection)
[
11:51:42] >> mysql_query_callbackConnection handle)
[
11:51:42] >> mysql_query_callbackConnection handle)
[
11:51:42] >> mysql_query_callbackConnection handle)
[
11:51:42] >> mysql_query_callbackConnection handle)
[
11:51:42] >> mysql_query_callbackConnection handle)
[
11:51:42] >> mysql_query_callbackConnection handle)
[
11:51:42] >> mysql_query_callbackConnection handle)
[
11:51:42] >> mysql_query_callbackConnection handle)
[
11:51:42] >> mysql_query_callbackConnection handle
Log do servidor
PHP код:
----------
Loaded log file"server_log.txt".
----------
SA-MP Dedicated Server
----------------------
v0.3x, (C)2005-2013 SA-MP Team
[11:53:12filterscripts ""  (string)
[
11:53:12
[
11:53:12Server Plugins
[11:53:12] --------------
[
11:53:12]  Loading pluginmysql
[11:53:12
  > 
MySQL plugin R7 successfully loaded.
[
11:53:12]   Loaded.
[
11:53:12]  Loading pluginsscanf
[11:53:12
[
11:53:12]  ===============================
[
11:53:12]       sscanf plugin loaded.     
[
11:53:12]          Version:  2.8.1        
[11:53:12]    (c2012 Alex "******" Cole  
[11:53:12]  ===============================
[
11:53:12]   Loaded.
[
11:53:12]  Loading pluginstreamer
[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:12Filterscripts
[11:53:12] ---------------
[
11:53:12]   Loaded 0 filterscripts.
[
11:53:12Load Biz
[11:53:12] [SCRIPT]: Carregado 4747 objetos
[11:53:12MAX_VEHICLES2000
[11:53:12Gamemode carregado com sucesso!
[
11:53:12Number of vehicle models
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?