our advertising disclaimer | Disclaimer - Must be read before using forum or clicking any links
Make Binary Money
Your Ad here!
Click To See IF You Qualify For FREE DDoS Protected Hosting!
Thats right! You could earn free DDoS Protected hosting for a full year. Click now to see if you qualify!
YOUR AD HERE!
For only $17/day, $99/week or $379/month on the most Popular HYIP related site online!
Put your banner or text in the rotation above!ONLY $17/day, $99/week, or $379/month!


All banners and links On Talkgold are advertisements only. We do not endorse or vouch for any advertiser's claims. Use Extreme Caution & perform your own due diligence before sending money to anyone!Put Your 728X90 Banner Here NOW!
Go Back   Talkgold HYIP, Investment & Money Forum > Caution : Risky High Yield Investing Programs > HYIP - AutoSurf Program Admin Talk

Reply
 
Thread Tools Display Modes

get this error message
  #1  
Old 12-07-2007, 10:50 PM
firecat318
Guest
 
Posts: n/a
Default get this error message

alright so i uploaded my script and i have a mysql database setup.. but when i open my website i get this:

Warning: mysql_connect(): Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2) in /home/www/testhyip.100webspace.net/inc/config.inc.php on line 2073
Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2)

So I go to that file and find line 2073 and it says this:
if (!($dbconn = mysql_connect ($settings['hostname'], $settings['db_login'], $settings['db_pass'])))

What do I do to make it work.
Reply With Quote

Re: get this error message
  #2  
Old 12-07-2007, 11:52 PM
Skyree's Avatar
Skyree Skyree is offline
TeamEarners.com Member
 
Join Date: Jan 2006
Posts: 1,711
Send a message via Skype™ to Skyree
Default Re: get this error message

Your host might have a problem with MySQL (eg. daemon not running). Give them a shout.
Reply With Quote

Re: get this error message
  #3  
Old 12-08-2007, 11:08 AM
tarek's Avatar
tarek tarek is offline
VIP Investor
 
Join Date: Aug 2005
Location: Virtual Reality
Posts: 1,301
Default Re: get this error message

this error means you are trying to send the query to the database without even establishing a connection at first place .
Reply With Quote

Re: get this error message
  #4  
Old 12-08-2007, 02:56 PM
oilsheikh's Avatar
oilsheikh oilsheikh is offline
Amateur Investor
 
Join Date: Nov 2007
Posts: 98
Default Re: get this error message

Exactly right.

There is no problem in your script. The script can't connect to the MySQL server. Perhaps you have the wrong server in your settings, but probably not because then it wouldn't give the error it's giving you now.

Unless you're on a dedicated server, you should contact your host and make sure they get their MySQL up and running. If you're on your own dedicated server, you should be able to start up MySQL yourself.
Reply With Quote

Re: get this error message
  #5  
Old 12-08-2007, 04:00 PM
firecat318
Guest
 
Posts: n/a
Default Re: get this error message

how do i establish a connection to the script
Reply With Quote

Re: get this error message
  #6  
Old 12-08-2007, 04:40 PM
oilsheikh's Avatar
oilsheikh oilsheikh is offline
Amateur Investor
 
Join Date: Nov 2007
Posts: 98
Default Re: get this error message

There is no such thing as a "connection to the script". Your script is trying to estabilish a connection to the MySQL server, which is down - assuming you have the settings correct.

I'm guessing you are not in control of starting and shutting down the MySQL server yourself, so you should just email your webhost and state the problem.

There is nothing you can do if the MySQL server is down and you can't fire it up.
Reply With Quote

Re: get this error message
  #7  
Old 12-08-2007, 06:40 PM
Ays's Avatar
Ays Ays is offline
Investor
 
Join Date: Aug 2007
Posts: 236
Default Re: get this error message

Testing on a free host is not the ultimate solution to achieve all features.
That’s all, most free webhosts do n’t provide such updated & broad configurations.
__________________
Goodness is the only investment that never fails.
Reply With Quote

Re: get this error message
  #8  
Old 12-09-2007, 06:43 AM
investguru's Avatar
investguru investguru is offline
Banned
 
Join Date: Sep 2007
Posts: 418

Warning Level : 5

Warning Bans : 1
Default Re: get this error message

this not your wrong, their must some error with the mysql server.
Reply With Quote

Re: get this error message
  #9  
Old 12-09-2007, 08:25 AM
tarek's Avatar
tarek tarek is offline
VIP Investor
 
Join Date: Aug 2005
Location: Virtual Reality
Posts: 1,301
Default Re: get this error message

post the script file here or attach it .
Reply With Quote

Re: get this error message
  #10  
Old 12-10-2007, 05:44 AM
eldard eldard is offline
Investor
 
Join Date: Jul 2007
Posts: 381
Default Re: get this error message

Quote:
Originally Posted by Ays
Testing on a free host is not the ultimate solution to achieve all features.
That’s all, most free webhosts don’t provide such updated & broad configurations.
Speak for yourself. I'm using freezoka.com for testing my scripts.
Reply With Quote
Reply


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 On
HTML code is Off

Forum Jump


TALKGOLD
SIDEBAR ADS

ADVERTISE HERE. Must read: Advertising Terms & Disclaimer
PUT YOUR 120X120 AD HERE FOR ONLY $410/WEEK!
Click Here for details.
Your Ad Here Cost of Ad - $400
Your Ad Here Cost of Ad - $400
Your Ad Here Cost of Ad - $390
Your Ad Here Cost of Ad - $390
Your Ad Here Cost of Ad - $390
Your Ad Here Cost of Ad - $350
Your Ad Here Cost of Ad - $350
Your Ad Here Cost of Ad - $310
Your Ad Here Cost of Ad - $310
Your Ad Here Cost of Ad - $300
Your Ad Here Cost of Ad - $145
Your Ad Here Cost of Ad - $135/week
Your Ad Here Cost of Ad - $135/week
Your Ad Here Cost of Ad - $125
Your Ad Here Cost of Ad - $125
YOUR AD HERE

PUT YOUR NON-ROTATING AD HERE NOW!
ONLY $125/Week


Your Ad Here for $85/week or $325/month

All times are GMT. The time now is 07:00 PM.


Protected by BlockDOS.net - DDOS Protection
Forum by: vBulletin - Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.