Welcome Guest ( Log In | Register)



 
Reply to this topicStart new topic
> Whats The Server?
nol
post Feb 12 2008, 09:53 PM
Post #1


Super Member
*********

Group: [HOSTED]
Posts: 257
Joined: 27-May 07
Member No.: 43,758



hey guys, im working with a script, heres the part im trying to figure out:

QUOTE
$gc_do_caching = 0;
$gc_cache_time = 3600;
$gc_use_sql = 0;
$gc_sql_server_host = "";


theres a lot more, but its not needed, i wanna know what the sql server host for trap17 is?
Go to the top of the page
 
+Quote Post
shadowx
post Feb 12 2008, 09:56 PM
Post #2


A clever man learns from his own mistakes, a WISE man learns from those of OTHERS
*********

Group: [HOSTED]
Posts: 897
Joined: 12-April 06
From: Essex, UK
Member No.: 21,719



QUOTE(nol @ Feb 12 2008, 09:53 PM) *
hey guys, im working with a script, heres the part im trying to figure out:
theres a lot more, but its not needed, i wanna know what the sql server host for trap17 is?


I think in general "localhost" is all that is needed, that of course is assuming that the script is hosted at T17, and if it isnt then i dont think the connection would be allowed by the rules or the firewall anyway. So give "localhost" a shot. Its the default setting for using the host that the script is on so it always works for me! then again i only use it in:

CODE
mysql_connect("localhost", "blah", "blah");


but i judge that the variable you are using is going to be used in a connect function anyway and so it should work.
Go to the top of the page
 
+Quote Post
nol
post Feb 12 2008, 11:33 PM
Post #3


Super Member
*********

Group: [HOSTED]
Posts: 257
Joined: 27-May 07
Member No.: 43,758



ok ya, its hosted at trap17, i thought it would be localhost, but i didnt get the chance to try it nor wanted to mess with it too much smile.gif
Go to the top of the page
 
+Quote Post
Tourist
post Feb 13 2008, 12:43 AM
Post #4


Member [Level 2]
*****

Group: [HOSTED]
Posts: 82
Joined: 2-February 08
From: Dhaka, Bangladesh
Member No.: 57,229



In trap17, Server: localhost.

But make sure you have grant permission to user name to use your database. In trap17 you must grant permission to user so that the specific user can use your database (incase of many host they do not need to grant permission; like my previous host).
Go to the top of the page
 
+Quote Post

Reply to this topicStart new topic

Collapse

> Similar Topics

Topics Topics
  1. Path On Server !(3)
  2. Neomail, Horde, Squirrelmail(4)
  3. More Than One Registered Domain Per Server(3)
  4. Sites Disapeard, Mysql Errors? Also Server Folders Deleted(18)
  5. So...what's The Perl Deal?(0)
  6. The Filesystem Mounted At / On This Server Is Running Out Of Disk Space.(22)
  7. Mac Mail And Server Settings(2)
  8. Genuine Help With Smtp And Php Mail() Function(3)
  9. Smtp Server Is Not Working...?(4)
  10. Trap17 Server Infrastructure.(5)
  11. Server Availability(11)
  12. What's Up With Trap17?(6)
  13. Mysql Server Problems [resolved](3)
  14. What's Up With The Gamma Server?(3)
  15. What's Happening With Trap17 Servers? [resolved](1)
  1. Trap17 Ftp Settings(3)
  2. Does Trap Use An Apache Server [resolved](3)
  3. Help With A .rar File In Ftp Server(4)
  4. Is The Server Ok?(1)
  5. Help: Internet Server Error(20)
  6. Server Status Link Doesn't Work(1)
  7. Wordpress Backup For A Server Move(2)
  8. Name Server Question(3)
  9. Server Issues? Web Site Down? Cpanel Access?(48)
  10. Gamma Servers' Problem(1)
  11. Site Down After Server Transfer(3)
  12. I Am Looking Into Going With A Paid Hosting Service And Trap17 Has Been Good To Me So Whats The Paid Hosting's Website?(7)
  13. I Cant Access The Server!(1)


 



- Lo-Fi Version Time is now: 21st August 2008 - 01:23 PM