Tuesday 30 November 2010

Web Hosting For Dummies

[simpleaffiliate source="chitika" results="0"][/simpleaffiliate]

Newbie Yahoo! web hosting + PHP Connect question?

Howdy! I didn't see this in my Dummies book for the specific MySQL instance on Yahoo! Small Biz web hosting. I'm trying to connect, and get the error "Can't connect to local mySQL server through socket 'tmp/mysql.sock' (46)"... The string I'm trying to use is below, copied from Yahoo! Help. The table sits in the "mysql" database, and seems vanilla enough (for an ASP guy, anyway). But no workie. I know this is going to be a simple question, but after three days of noodle-scratchin', thought I'd ask. Thanks!

$link = mysql_connect("mysql", "USERNAME", "PASSWORD");
mysql_select_db("mysql");
$query = sprintf("SELECT * FROM ft4h_calls");
$result = mysql_query($query);

... etc..


no idea.....sorry


reseller web hosting for dummies









[simpleaffiliate source="amazon" results="10"]web hosting for dummies[/simpleaffiliate]
[simpleaffiliate source="cj" results="10"]web hosting for dummies[/simpleaffiliate]
[simpleaffiliate source="clickbank" results="10"]web hosting for dummies[/simpleaffiliate]

No comments:

Post a Comment