FRIHOST FORUMS SEARCH FAQ TOS BLOGS COMPETITIONS
You are invited to Log in or Register a free Frihost Account!


SQL - need help





wowz
Quote:

define('dbhost', 'localhost');
define('dbname', 'itemdb');
define('dbuser', 'user');
define('dbpass', 'pass');
define('item_cache_table', 'item_cache');

Simply replace the 'localhost', 'itemdb', 'user', 'pass' and 'items_cache' strings with values that match your SQL setup. Leave this file open for now, you might need it in the next part.


Right, so what goes where? The info is stored elsewhere. Do I have to make sites for this? Or pages? Or what? Tables maybe? I'll be posting a lot of questions on this, so if you need more info, just ask lol
I have no idea about SQL and I can't log into config from here so I can't really see if there is any info thre or easy access to do this.

Thanks to anyone that replies with useful info!!!
n0obie4life
You told me through PM that the SQL server is offsite.

define('dbhost', 'localhost'); - replace that with the ip address of the sql server
define('dbname', 'itemdb'); - database name
define('dbuser', 'user'); - username
define('dbpass', 'pass'); - password

no idea what the last one is for doh.
Xiecho
hmm I think just Ignore those item Rolling Eyes it looks like game database>
just idea im nemb
Aelita
Are you using Frihost?
Kydha
Quote:
define('item_cache_table', 'item_cache');


This part is to set the name of a table use by the system, don't care about it.

Enjoy.
Related topics
Help: SQL error after uploading new files(thread updated)
SQL Tutorial
I can't upload my Database SQL script ! Helllppppp!!!!
CAN ANYBODY HELP ME PLEASE ?!!
Help for sending 2+ cookies in one page.
[php/SQL] Help needed
SQL + help
some pl/sql help please
Error while creating the SQL table pls help
SQL Problem Help
help, SQL Stored procedure - ASTM rouding rule
help me in blind sql
Strange SQL cursor problem. Pls do not ignore if can help.
SQL help.
[TuT]JOOMLA Installation Guide (Less Easy Way)
Reply to topic    Frihost Forum Index -> Scripting -> Php and MySQL

FRIHOST HOME | FAQ | TOS | ABOUT US | CONTACT US | SITE MAP
© 2005-2011 Frihost, forums powered by phpBB.