Raised This Month: $32 Target: $400
 8% 

Help Me To Solve This Puzzle :s


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
AmineKyo
فوق سريرك
Join Date: Oct 2011
Location: Morocco
Old 03-12-2012 , 15:53   Help Me To Solve This Puzzle :s
Reply With Quote #1

I Have Some MySQL Errors I Can't Solve Them
For The First Its ZP Web STATS Plugin For Zombie Plague
Quote:
Originally Posted by Console
03/11/2012 - 11:00:03: [zp_web_stats.amxx] [ZP] Stats: SQ Error #1045 - Access denied for user '****_stats'@'89.238.135.176' (using password: YES)
03/11/2012 - 11:00:03: [MySQL] Invalid database handle: 0
03/11/2012 - 11:00:03: [AMXX] Displaying debug trace (plugin "zp_web_stats.amxx")
03/11/2012 - 11:00:03: [AMXX] Run time error 10: native error (native "SQL_PrepareQuery")
03/11/2012 - 11:00:03: [AMXX] [0] sqlx.inc::SQL_QueryAndIgnore (line 345)
03/11/2012 - 11:00:03: [AMXX] [1] zp_web_stats.sma::plugin_cfg (line 287)
Look at the plugin cvars
Quote:
Originally Posted by zp_web_stats.cfg
// Databse settings
zp_stats_host "63.247.77.114"
zp_stats_db "****_stats"
zp_stats_user "****_stats"
zp_stats_password "****"
Anything is OK Here (No Password Wrong Or USER ETC...)
And The Second AMXBans
Quote:
Originally Posted by Console
[AMXBans] plugin_cfg: ip 89.238.135.177:27018 / prefix HPBans
[AMXBans] Loaded 7 admins from file
03/12/2012 - 19:06:40: [amxbans_main.amxx] [AMXBans] Received DB Info Tuple from amxbans_core: 3 | HPBans
Menu item 18 added to Menus Front-End: "Plugin Cvars" from plugin "pluginmenu.amxx"
Menu item 19 added to Menus Front-End: "Plugin Commands" from plugin "pluginmenu.amxx"
03/12/2012 - 19:06:40: [amxbans_core.amxx] Login: "[ H P ]* |YasserCS [~]<7><>" became an admin (account "STEAM_0:1:4***3360") (access "abcdefghijklmnopqrstu") (address "***9") (nick ";YasserCS") (static 0)
[AMXBans] The server IP:PORT is: 89.238.135.177:27018
03/12/2012 - 19:06:40: [amxbans_main.amxx] [AMXBans] The server IP:PORT is: 89.238.135.177:27018
03/12/2012 - 19:06:40: [amxbans_main.amxx] [AMXBans] Connection failed!
03/12/2012 - 19:06:40: [amxbans_main.amxx] [AMXBans] Threaded Query Error, Place: 17
03/12/2012 - 19:06:40: [amxbans_main.amxx] [AMXBans] Message: Access denied for user 'vefiedb_bans'@'89.238.135.176' (using password: YES) (1045)
03/12/2012 - 19:06:40: [amxbans_main.amxx] [AMXBans] Query statement:
03/12/2012 - 19:06:41: [amxbans_main.amxx] [AMXBans] Connection failed!
03/12/2012 - 19:06:41: [amxbans_main.amxx] [AMXBans] Threaded Query Error, Place: 1
03/12/2012 - 19:06:41: [amxbans_main.amxx] [AMXBans] Message: Access denied for user 'vefiedb_bans'@'89.238.135.176' (using password: YES) (1045)
03/12/2012 - 19:06:41: [amxbans_main.amxx] [AMXBans] Query statement: SELECT `motd_delay` FROM `HPBans_serverinfo` WHERE address = '89.238.135.177:27018'
03/12/2012 - 19:06:41: [amxbans_main.amxx] [AMXBans] Connection failed!
03/12/2012 - 19:06:41: [amxbans_main.amxx] [AMXBans] Threaded Query Error, Place: 5
03/12/2012 - 19:06:41: [amxbans_main.amxx] [AMXBans] Message: Access denied for user 'vefiedb_bans'@'89.238.135.176' (using password: YES) (1045)
03/12/2012 - 19:06:41: [amxbans_main.amxx] [AMXBans] Query statement:
[AMXBans] No Reasons found
[AMXBans] No Reasons found in Database. Static reasons were loaded instead.
SQL.CFG Cvars
Quote:
Originally Posted by SqL.cfg
amx_sql_host "63.247.77.114"
amx_sql_user "vefiedb_bans"
amx_sql_pass "*****"
amx_sql_db "vefiedb_bans"
amx_sql_table "HPBans_amxadmins"
amx_sql_type "mysql"
Server IP : 89.238.135.177
SQL Host : 63.247.77.114
The Host That Shows Me In Console : 89.238.135.177
And Sorry For The WRONG Name Of Topic :$
__________________

Last edited by AmineKyo; 03-12-2012 at 16:11.
AmineKyo is offline
AmineKyo
فوق سريرك
Join Date: Oct 2011
Location: Morocco
Old 03-12-2012 , 15:57   Re: Help Me To Solve This Puzzle :s
Reply With Quote #2

But When I Did This In ZP_Web_Stats.CFG
Quote:
Originally Posted by ZP_Web_Stats.CFG
// Databse settings
zp_stats_host "**63.247.77.114"
zp_stats_db "****_stats"
zp_stats_user "****_stats"
zp_stats_password "****"
Look What Happened
Quote:
03/12/2012 - 19:19:05: [zp_web_stats.amxx] [ZP] Stats: SQ Error #2005 - Unknown MySQ server host '**63.247.77.114' (3)
03/12/2012 - 19:19:05: [MySQL] Invalid database handle: 0
03/12/2012 - 19:19:05: [AMXX] Displaying debug trace (plugin "zp_web_stats.amxx")
03/12/2012 - 19:19:05: [AMXX] Run time error 10: native error (native "SQL_PrepareQuery")
03/12/2012 - 19:19:05: [AMXX] [0] sqlx.inc::SQL_QueryAndIgnore (line 345)
03/12/2012 - 19:19:05: [AMXX] [1] zp_web_stats.sma::plugin_cfg (line 287)
Sorry For The Double Post
__________________
AmineKyo is offline
8088
Veteran Member
Join Date: Jan 2008
Old 03-12-2012 , 16:20   Re: Help Me To Solve This Puzzle :s
Reply With Quote #3

Quote:
Access denied for user '****_stats'@'89.238.135.176' (using password: YES)
This can mean four things:
  1. user ****_stats doesn't have the privilege to connect to MySQL (i.e. does not exist)
  2. user ****_stats has the privilege to connect to MySQL, but not from 89.238.135.176
  3. the password is incorrect
  4. a combination of some or all of the above
Quote:
Originally Posted by AmineKyo View Post
Server IP : 89.238.135.177
Apparently 89.238.135.176 is also your server ip. Make sure that your user is allowed to connect from that host too.
__________________
steamID converter with OpenSearch browser plugin
8088 is offline
AmineKyo
فوق سريرك
Join Date: Oct 2011
Location: Morocco
Old 03-12-2012 , 16:36   Re: Help Me To Solve This Puzzle :s
Reply With Quote #4

Quote:
Originally Posted by 8088 View Post
This can mean four things:
  1. user ****_stats doesn't have the privilege to connect to MySQL (i.e. does not exist)
  2. user ****_stats has the privilege to connect to MySQL, but not from 89.238.135.176
  3. the password is incorrect
  4. a combination of some or all of the above

Apparently 89.238.135.176 is also your server ip. Make sure that your user is allowed to connect from that host too.
The Right Answer is 2
but look at here
Quote:
Server IP : 89.238.135.177
SQL Host : 63.247.77.114
The Host That Shows Me In Console : 89.238.135.176
__________________
AmineKyo is offline
8088
Veteran Member
Join Date: Jan 2008
Old 03-12-2012 , 16:40   Re: Help Me To Solve This Puzzle :s
Reply With Quote #5

Like I said, make sure that your MySQL user is allowed to connect from that host too.
__________________
steamID converter with OpenSearch browser plugin
8088 is offline
AmineKyo
فوق سريرك
Join Date: Oct 2011
Location: Morocco
Old 03-12-2012 , 16:45   Re: Help Me To Solve This Puzzle :s
Reply With Quote #6

Quote:
Originally Posted by 8088 View Post
Like I said, make sure that your MySQL user is allowed to connect from that host too.
I Don't Have that host it doesn't exist i think
but w8
i test it in other Server
look what happened
Quote:
[AMXBans] The server IP:PORT is: 89.238.135.172:27028
03/12/2012 - 20:14:44: [amxbans_main.amxx] [AMXBans] The server IP:PORT is: 89.238.135.172:27028
03/12/2012 - 20:14:45: [amxbans_main.amxx] [AMXBans] Connection failed!
03/12/2012 - 20:14:45: [amxbans_main.amxx] [AMXBans] Threaded Query Error, Place: 1
03/12/2012 - 20:14:45: [amxbans_main.amxx] [AMXBans] Message: Access denied for user 'vefiedb_bans'@'89.238.135.170' (using password: YES) (1045)
03/12/2012 - 20:14:45: [amxbans_main.amxx] [AMXBans] Query statement: SELECT `motd_delay` FROM `HPBans_serverinfo` WHERE address = '89.238.135.172:27028'
03/12/2012 - 20:14:45: [amxbans_main.amxx] [AMXBans] Connection failed!
03/12/2012 - 20:14:45: [amxbans_main.amxx] [AMXBans] Threaded Query Error, Place: 5
03/12/2012 - 20:14:45: [amxbans_main.amxx] [AMXBans] Message: Access denied for user 'vefiedb_bans'@'89.238.135.170' (using password: YES) (1045)
03/12/2012 - 20:14:45: [amxbans_main.amxx] [AMXBans] Query statement:
[AMXBans] No Reasons found
[AMXBans] No Reasons found in Database. Static reasons were loaded instead.
This is another server not the same
__________________

Last edited by AmineKyo; 03-12-2012 at 16:45. Reason: X(
AmineKyo is offline
8088
Veteran Member
Join Date: Jan 2008
Old 03-12-2012 , 17:21   Re: Help Me To Solve This Puzzle :s
Reply With Quote #7

Quote:
Originally Posted by AmineKyo View Post
I Don't Have that host it doesn't exist i think
MySQL disagrees with you.

Maybe setting ip [value] in server.cfg helps controlling your outbound connections. If that won't work, you've two options left: 1) add all possible ips to the appropriate privileges or 2) fix it on OS level.
__________________
steamID converter with OpenSearch browser plugin
8088 is offline
AmineKyo
فوق سريرك
Join Date: Oct 2011
Location: Morocco
Old 03-12-2012 , 17:44   Re: Help Me To Solve This Puzzle :s
Reply With Quote #8

nothing from that answers had did well,
Thank So Much And I'm Sorry For Disturbing you.
__________________
AmineKyo is offline
8088
Veteran Member
Join Date: Jan 2008
Old 03-12-2012 , 17:49   Re: Help Me To Solve This Puzzle :s
Reply With Quote #9

You're not disturbing me, but I have no idea what 'nothing from that answers had did well' means.
__________________
steamID converter with OpenSearch browser plugin
8088 is offline
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 21:24.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode