Current location: Hot Scripts Forums » Programming Languages » PHP » $server = "localhost";


$server = "localhost";

Reply
  #1 (permalink)  
Old 04-05-06, 07:24 PM
Daisyanne Daisyanne is offline
Newbie Coder
 
Join Date: Mar 2006
Posts: 18
Thanks: 0
Thanked 0 Times in 0 Posts
$server = "localhost";

i have a program on my website that looks for my database at
$server = "localhost"; but my database is on my server with ip http://69.125.34.102:1024/ how do i change that line so it looks for my database at that location?
Reply With Quote
  #2 (permalink)  
Old 04-05-06, 08:02 PM
mab's Avatar
mab mab is offline
Community VIP
 
Join Date: Oct 2005
Location: Denver, Co. USA
Posts: 2,674
Thanks: 0
Thanked 0 Times in 0 Posts
This should work - $server = "69.125.34.102:1024";
__________________
Error checking, error reporting, and error recovery. If your code does not have these to get it to tell you why it is not working, what makes you think someone in a programming forum will be able to tell you why it is not working???
Reply With Quote
  #3 (permalink)  
Old 04-05-06, 08:20 PM
Daisyanne Daisyanne is offline
Newbie Coder
 
Join Date: Mar 2006
Posts: 18
Thanks: 0
Thanked 0 Times in 0 Posts
Lost connection to MySQL server during query


this is what i get when i try to do a install.sql
Reply With Quote
Reply

Bookmarks


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
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 Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Forum Jump


All times are GMT -5. The time now is 07:07 AM.
vBulletin® Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.