SA-MP Forums

Go Back   SA-MP Forums > SA-MP Server > Server Support

Reply
 
Thread Tools Display Modes
Old 22/08/2012, 05:14 PM   #1
Luke_James
Huge Clucker
 
Join Date: Jun 2011
Location: in limbo
Posts: 398
Reputation: 8
Default Configuring SQL through scriptfiles

I'm use to connecting to a DB via script #defines, however the script I'm looking at right now uses scriptfiles. How can I connect to the DB doing this? The sample given is in a notepad file called MySQL, and in it, it says this..

Quote:
samp|localhost|root|
My DB is hosted via KINGJ (uk2.game.kingj.net), and my database is called SDRP. The username is SDRPDBase, then obviously there's the password.
Luke_James is offline   Reply With Quote
Old 22/08/2012, 06:55 PM   #2
Anosh4381
Little Clucker
 
Join Date: Jun 2009
Posts: 16
Reputation: 1
Default Re: Configuring SQL through scriptfiles

Quote:
Originally Posted by Luke_James View Post
I'm use to connecting to a DB via script #defines, however the script I'm looking at right now uses scriptfiles. How can I connect to the DB doing this? The sample given is in a notepad file called MySQL, and in it, it says this..



My DB is hosted via KINGJ (uk2.game.kingj.net), and my database is called SDRP. The username is SDRPDBase, then obviously there's the password.
SDRP|uk2.game.kingj.net|SDRPDBase|password

Rep plz, or a cookie, maybe both?
Anosh4381 is offline   Reply With Quote
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


Similar Threads
Thread Thread Starter Forum Replies Last Post
Scriptfiles Vegas. Server Support 1 05/06/2012 08:53 PM
Help me - Scriptfiles. Edin Black Scripting Help 16 15/05/2012 06:25 PM
Need help with scriptfiles kiss Help Archive 1 14/09/2010 03:22 PM
Scriptfiles _Sami_ Help Archive 0 13/12/2009 01:59 PM
[help] Using Scriptfiles? Mowgli Help Archive 6 15/10/2009 03:05 PM


All times are GMT. The time now is 10:17 PM.


Powered by vBulletin® Version 3.8.6
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.