|
|
|
|
![]() ![]() |
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? |
|
|
|
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 |
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. |
|
|
|
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
|
|
|
|
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). |
|
|
|
![]() ![]() |
Similar Topics
|
Lo-Fi Version | Time is now: 21st August 2008 - 01:23 PM |