Hi Abidshahzad, Please check the host name, username and password that you provided in the mysql_connect function parameter values. Host name sometimes an IP address. Thanks & Regards Udayakumar Sarangapani Sr. PHP Developer CompIndia Infotech Pvt. Ltd. Chennai. "Science is nothing but logic..." ----- Original Message ---- From: Priyantha Gunawardena <pgdesigning@xxxxxxxxx> To: php-objects@xxxxxxxxxxxxxxx Sent: Saturday, 30 August, 2008 7:32:27 AM Subject: Re: Problem while connecting to the mysql server remotely Its not something new u can connect the same way u connect to ur localhost instead you have to use the correct server name user ps and db name these will be provided by ur server admin. regards Priyantha On Fri, Aug 29, 2008 at 2:06 PM, abidshahzad4u <abidshahzad4u@ yahoo.com>wrote: > Is there some class to connect mysql remotely? > I am stuck while connecting to remote server. > > > -- Priyantha Gunawardena ____________ _________ _________ ________ {Web Designer / Developer} Tel: +94 038-228-4323 Mobi: +94 077-393-8516 Blog: http://www.pgdesign ing.com IM : pgdesigning [Non-text portions of this message have been removed] Did you know? You can CHAT without downloading messenger. Go to http://in.webmessenger.yahoo.com/ [Non-text portions of this message have been removed]