Raised This Month: $ Target: $400
 0% 

Need a little help, please!


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
fantarn
Member
Join Date: Feb 2011
Old 05-17-2013 , 23:42   Need a little help, please!
Reply With Quote #1

Hi,


I've just installed http://forums.alliedmods.net/showthread.php?p=613430.

Uploaded everything, made an database but it doesn't show any names, i mean, it won't update.

This is the top15

Since i got none knowledge of MySql, i was hoping i could get some help here.


Thanks in advance!
fantarn is offline
piepie
Member
Join Date: May 2013
Location: Pieland *.*
Old 05-18-2013 , 04:12   Re: Need a little help, please!
Reply With Quote #2

Maybe your host dont support sql remote since it's free (i guess). Any errors on the server?
__________________

piepie is offline
fantarn
Member
Join Date: Feb 2011
Old 05-18-2013 , 05:29   Re: Need a little help, please!
Reply With Quote #3

Hi,

This site came free with a gameserver at gameservers.com
the website can be controlled with cPanel X, there's something called remote MySql.
When i open this up there's something about a "wildcard"?

"Add Access Host"
"Host (% wildcard is allowed):"


In my server console it do say something like this:

EDIT:

Quote:
L 05/18/2013 - 053:28: [MySQL] Invalid database handle: 0
L 05/18/2013 - 053:28: [AMXX] Displaying debug trace (plugin "psd_007-3.amxx")
L 05/18/2013 - 053:28: [AMXX] Run time error 10: native error (native "SQL_PrepareQuery")
L 05/18/2013 - 053:28: [AMXX] [0] 27570.attach::SequentialData (line 286)
L 05/18/2013 - 053:28: [AMXX] [1] 27570.attach::client_putinserver (line 25
These are the errors that causes it.

Another small question,

When you've uploaded all the website stuff to your site.
http://website.com/ranking_sample.php, There should the top15 be at right?


Thanks

Last edited by fantarn; 05-18-2013 at 05:41.
fantarn is offline
piepie
Member
Join Date: May 2013
Location: Pieland *.*
Old 05-18-2013 , 06:11   Re: Need a little help, please!
Reply With Quote #4

Go to remote sql and put the ip from your server.
__________________

piepie is offline
fantarn
Member
Join Date: Feb 2011
Old 05-18-2013 , 06:23   Re: Need a little help, please!
Reply With Quote #5

Hi,

It had no succes, this error shows up in console:

Quote:
[PSD] Error No.2013: Lost connection to MySQL server at 'reading initial communication packet', system error: 0
and after a second restart this error showed up:

Quote:
L 05/18/2013 - 06:25:43: [MySQL] Invalid database handle: 0
L 05/18/2013 - 06:25:43: [AMXX] Displaying debug trace (plugin "psd_007-3.amxx")
L 05/18/2013 - 06:25:43: [AMXX] Run time error 10: native error (native "SQL_PrepareQuery")
L 05/18/2013 - 06:25:43: [AMXX] [0] 27570.attach::SequentialData (line 286)
L 05/18/2013 - 06:25:43: [AMXX] [1] 27570.attach::client_putinserver (line 25
I've read something about creating a table, is this true? Or does it make one automaticly?


Thanks

Last edited by fantarn; 05-18-2013 at 06:27.
fantarn is offline
piepie
Member
Join Date: May 2013
Location: Pieland *.*
Old 05-18-2013 , 06:43   Re: Need a little help, please!
Reply With Quote #6

Quote:
Originally Posted by fantarn View Post
Hi,

I've read something about creating a table, is this true? Or does it make one automaticly?


Thanks
It creates the table automaticly (it should).
__________________

piepie is offline
fantarn
Member
Join Date: Feb 2011
Old 05-18-2013 , 07:12   Re: Need a little help, please!
Reply With Quote #7

Hi,

I really hate to ask you this but could you perhaps make a step-by-step tutorial for how to install this?


Thanks in advance
fantarn is offline
fantarn
Member
Join Date: Feb 2011
Old 05-18-2013 , 10:59   Re: Need a little help, please!
Reply With Quote #8

Now it says this:

Quote:
[PSD] Error: Can't connect: Can't connect to MySQL server on '127.0.0.1' (111)
I have this in the script:

Quote:
g_dbhost = register_cvar("amx_sql_host","mysql1.000webho st.com")
g_dbuser = register_cvar("amx_sql_user","a9419207_admin" )
g_dbpass = register_cvar("amx_sql_pass","*****")
g_dbname = register_cvar("amx_sql_db","a9419207_stats")
g_tbname = register_cvar("psd_tbname","statustable")


and this in sql.cfg

Quote:
amx_sql_host "mysql1.000webhost.com"
amx_sql_user "a9419207_admin"
amx_sql_pass "****"
amx_sql_db "stats"
amx_sql_table "admins"
amx_sql_type "mysql"


i've been working on this all day and still don't have a solution.
Well i'm off to work now, hopefully someone knows the solution for this.

I'd be very happy.


Thanks
fantarn is offline
piepie
Member
Join Date: May 2013
Location: Pieland *.*
Old 05-18-2013 , 12:22   Re: Need a little help, please!
Reply With Quote #9

000webhost.com dont support remote sql.
__________________

piepie is offline
fantarn
Member
Join Date: Feb 2011
Old 05-18-2013 , 14:25   Re: Need a little help, please!
Reply With Quote #10

Where can i get an good DB with Remote sql?
fantarn 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 18:46.


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