From: Peter Normann Date: June 8 2005 3:21am Subject: RE: WebHosting with MySQL....... List-Archive: http://lists.mysql.com/mysql/185147 MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Ashok Kumar wrote: > Hi Friends, > I'm Ashok. I tried one c-cgi script which is get two > input data from the user (thro' browser) and store it > into MySQL Database, which is running in my m/c as a > service. It's working well in my local pc. > Now i want to host that cgi pgm into one site (where > cgi scriptings r allowed). My doubt is how can i > invoke the database connectivity for that. is it > neccessary that server must have the MySQL DB? > Help me pls. I'm in the dark as to what c-cgi exactly is and thus how you connect to the MySql in the first place, but nevertheless I assume you must be establishing the database connection first hand in your script. This being the case, you should be able to apply a different hostname than 'localhost' in your connection script. Remember to verify that the grant privileges reflect the client not being on localhost. Peter Normann