Raised This Month: $ Target: $400
 0% 

How does this MySQL part works?


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
proffs
Senior Member
Join Date: Jul 2013
Old 07-21-2013 , 05:51   How does this MySQL part works?
Reply With Quote #1

I have a Super Admin Plugin.
But i dont know how this part works.
the plugin connects to the MySQL server automatic because it's hosted at same server.
But i can't find any database. I have created a database and everything.
Where do i put the sql info?
thanks

Last edited by proffs; 07-21-2013 at 13:09.
proffs is offline
Arkshine
AMX Mod X Plugin Approver
Join Date: Oct 2005
Old 07-21-2013 , 06:07   Re: How does this MySQL part works?
Reply With Quote #2

Post the full plugin or give a link.
__________________
Arkshine is offline
Arkshine
AMX Mod X Plugin Approver
Join Date: Oct 2005
Old 07-21-2013 , 06:18   Re: How does this MySQL part works?
Reply With Quote #3

Post at least plugin_init() only, to see what cvars the plugins use.
__________________
Arkshine is offline
proffs
Senior Member
Join Date: Jul 2013
Old 07-21-2013 , 06:21   Re: How does this MySQL part works?
Reply With Quote #4

[PHP]public plugin_init()
{
reg

Last edited by proffs; 07-21-2013 at 13:10.
proffs is offline
Arkshine
AMX Mod X Plugin Approver
Join Date: Oct 2005
Old 07-21-2013 , 06:22   Re: How does this MySQL part works?
Reply With Quote #5

Show content of MySQL_Init then. It should help.
__________________
Arkshine is offline
proffs
Senior Member
Join Date: Jul 2013
Old 07-21-2013 , 06:24   Re: How does this MySQL part works?
Reply With Quote #6

rrrrrrrrrrrrrrrr

Last edited by proffs; 07-21-2013 at 13:10.
proffs is offline
Arkshine
AMX Mod X Plugin Approver
Join Date: Oct 2005
Old 07-21-2013 , 06:26   Re: How does this MySQL part works?
Reply With Quote #7

Well, yes, you're right. I would like just to see where is defined mysql_host and such.
__________________
Arkshine is offline
proffs
Senior Member
Join Date: Jul 2013
Old 07-21-2013 , 06:28   Re: How does this MySQL part works?
Reply With Quote #8

Do you got skype or something where i can send you the full .sma?
Thanks.
proffs is offline
YamiKaitou
Has a lovely bunch of coconuts
Join Date: Apr 2006
Location: Texas
Old 07-21-2013 , 06:36   Re: How does this MySQL part works?
Reply With Quote #9

Any error messages? Did you grant access for the user to acces and use the database?
__________________
ProjectYami Laboratories

I do not browse the forums regularly anymore. If you need me for anything (asking questions or anything else), then PM me (be descriptive in your PM, message containing only a link to a thread will be ignored).
YamiKaitou is offline
proffs
Senior Member
Join Date: Jul 2013
Old 07-21-2013 , 06:44   Re: How does this MySQL part works?
Reply With Quote #10

No, I don't got any error. And Yes the user has acces to use the db.
proffs is offline
Reply


Thread Tools
Display Modes

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 06:26.


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