Raised This Month: $12 Target: $400
 3% 

MYSQL connection with amxx


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
andrept4
Senior Member
Join Date: Dec 2012
Location: Portugal
Old 05-18-2015 , 12:07   MYSQL connection with amxx
Reply With Quote #1

Hello ladies and gentleman i was just wondering how to connect a external mysql database to my amxmodx sql.txt i wanted to do it because my amxbans can't connect with the server


pls help me pls pls pls xD
__________________
andrept4 is offline
DeteCT0R
Member
Join Date: Jun 2012
Location: My Home
Old 05-18-2015 , 12:09   Re: MYSQL connection with amxx
Reply With Quote #2

Log?
Where is running mysql server?
Allow to connect mysql any host?
__________________
My steam:
DeteCT0R is offline
^SmileY
Veteran Member
Join Date: Jan 2010
Location: Brazil [<o>]
Old 05-18-2015 , 12:28   Re: MYSQL connection with amxx
Reply With Quote #3

Wrong forum matte, post at scripting help forum.
__________________
Projects:

- See my Git Hub: https://github.com/SmileYzn
PHP Code:
set_pcvar_num(pCvar, !get_pcvar_num(pCvar)); 
^SmileY is offline
Send a message via MSN to ^SmileY Send a message via Skype™ to ^SmileY
andrept4
Senior Member
Join Date: Dec 2012
Location: Portugal
Old 05-18-2015 , 12:34   Re: MYSQL connection with amxx
Reply With Quote #4

Quote:
Log?
what ? x'D

Quote:
where is running mysql server?
in the same host i have my game server

Quote:
Allow to connect mysql any host?
since it's the same host..

Quote:
Originally Posted by ^SmileY View Post
Wrong forum matte, post at scripting help forum.
but this is off-topic i think ;-; yo you understand this ? i speak portuguese \o/
__________________

Last edited by andrept4; 05-18-2015 at 12:37.
andrept4 is offline
^SmileY
Veteran Member
Join Date: Jan 2010
Location: Brazil [<o>]
Old 05-18-2015 , 14:58   Re: MYSQL connection with amxx
Reply With Quote #5

Quote:
Originally Posted by andrept4 View Post
what ? x'D

in the same host i have my game server

since it's the same host..


but this is off-topic i think ;-; yo you understand this ? i speak portuguese \o/
No one wil give support for amxx at incorrect forum. Read the rules.
__________________
Projects:

- See my Git Hub: https://github.com/SmileYzn
PHP Code:
set_pcvar_num(pCvar, !get_pcvar_num(pCvar)); 
^SmileY is offline
Send a message via MSN to ^SmileY Send a message via Skype™ to ^SmileY
xEhsaan
Member
Join Date: Mar 2015
Location: Isfahan, Iran
Old 05-18-2015 , 15:36   Re: MYSQL connection with amxx
Reply With Quote #6

I'm Persian but I know which forum is right, so this is irrelevant to choosing the right forum.

Your question already asked by myself and AlliedModders answered very good. You can see the answers and starting tutorial link.
https://forums.alliedmods.net/showthread.php?t=262674
__________________
* Wait for something awesome...
* AMX Mod X Plugin Translation Repository [Paused Temporarily]
* Knife Deathmatch Shop
* Knife CFG Detector
* Looking for an idea...
xEhsaan is offline
Send a message via Skype™ to xEhsaan
fysiks
Veteran Member
Join Date: Sep 2007
Location: Flatland, USA
Old 05-18-2015 , 19:30   Re: MYSQL connection with amxx
Reply With Quote #7

There are many plugins that use SQL that you can look at to see how to connect to a MySQL database. Whether it is external or not is irrelevant to AMX Mod X (with the exception of MySQLite maybe).
__________________
fysiks 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 19:27.


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