i m using xaampp..on my local computer . i have to connect to database my sql.... at my local computer its working
(
$link=mysql_connect("localhost","root","");
if(!$link)
{
echo "Unable to connect to DATABASE:" .mysql_error();
exit;
}
$res=mysql_select_db('icng') or die('could not select database');)
but when i load my files to remote computer at that time it is not connecting to mysql..
it gives an error of " unable to connect to localhost 10061"..
But like a few people are experiencing (refer link above), when being hosted by Go Daddy, or anyother host, we don't have access to to the my.ini file, to change the env variables.. like timeout or packetsize.
I run a popular, though not wildly so, science news site. I have a VPS through the terrific Servint.com.
I'd like to use a low-cost Siteground.com (or comparable) account strictly as a MySQL server for my Drupal installation.
I'm having trouble and I've searched the boards.
Specifically, I don't know how to change settings.php to account for the remote server. The db URL seems like the trick, but I can't seem to get it right.
i feel that entry of uploaded images or videos in the ' node' table decreases the performance of site.. can i avoid it?But I need an entry when the particular image or video is uploaded related to "node"
My website www.operatoridelbenessere.com is going well but checking with phpmyadmin it shows:
(I translate from Italian)
Problems with table index of table`community_tags`
keys PRIMARY e INDEX should not be assigned both to 'tid' column
Problems with table index of table`node`
keys PRIMARY e INDEX should not be assigned both to 'nid' column
More than one key INDEX has been created for the column `status`