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


-- 
MySQL General Mailing List
For list archives: http://lists.mysql.com/mysql
To unsubscribe:    http://lists.mysql.com/[EMAIL PROTECTED]

Reply via email to