Raised This Month: $ Target: $400
 0% 

[SOLVED] Sql general help


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
OvidiuS
Chillaxin'
Join Date: Dec 2009
Location: Serbia
Old 05-12-2012 , 16:56   [SOLVED] Sql general help
Reply With Quote #1

I have little experience with sql plugins, so my questions are:
What include is the best for saving and reading various data about player very often?
Is it possible to have sql saving/loading data without web database ( because i don't need web stats )

I already seen tutorials, no need for posting links, i understand the code, but i don't know "sql based" things.

Last edited by OvidiuS; 05-12-2012 at 17:05.
OvidiuS is offline
Send a message via Skype™ to OvidiuS
bazhenov93
Veteran Member
Join Date: Oct 2010
Old 05-12-2012 , 17:00   Re: Sql general help
Reply With Quote #2

Quote:
Originally Posted by OvidiuS View Post
Is it possible to have sql saving/loading data without web database ( because i don't need web stats )
Use SQLVault by Exolent.

Last edited by bazhenov93; 05-12-2012 at 17:00.
bazhenov93 is offline
Exolent[jNr]
Veteran Member
Join Date: Feb 2007
Location: Tennessee
Old 05-12-2012 , 17:02   Re: Sql general help
Reply With Quote #3

Write your SQL code just like normal.

For connection information, use this:
amx_sql_host "127.0.0.1"
amx_sql_user "root"
amx_sql_pass ""
amx_sql_db "amx"
amx_sql_type "sqlite"

Then make sure the sqlite module is enabled.
__________________
No private work or selling mods.
Quote:
Originally Posted by xPaw View Post
I love you exolent!
Exolent[jNr] is offline
OvidiuS
Chillaxin'
Join Date: Dec 2009
Location: Serbia
Old 05-12-2012 , 17:05   Re: Sql general help
Reply With Quote #4

Quote:
Originally Posted by Exolent[jNr] View Post
Write your SQL code just like normal.

For connection information, use this:
amx_sql_host "127.0.0.1"
amx_sql_user "root"
amx_sql_pass ""
amx_sql_db "amx"
amx_sql_type "sqlite"

Then make sure the sqlite module is enabled.
Thank you, that's what i wanted to know, and bazhenov93 also thanks ;)
OvidiuS is offline
Send a message via Skype™ to OvidiuS
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 00:28.


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