You are here: Re: Allow friend to access MySQL db from my host « PHP SQL « IT news, forums, messages
Re: Allow friend to access MySQL db from my host

Posted by Rik on 05/30/06 20:35

wrote:
> I have a few MySQL databases that came with my hosting package.
> My friend has very simple webhosting and did not get any databases.
> How do I allow him access to one of my databases? (I will create one
> for his specific use).
> Many times it asks for the direct path to the database but AFAIK this
> is from my hosting. I guess I need to know how to point from his site
> to my site with the database.

Normally, on shared hosting, the database isn't reachable from other
machines then the server itself. If you have total control over MySQL, you
could alter this, I doubt you have the rights ATM.

Probably the only way for him to use your database is to create dynamic
pages/files with output from the database, and possible input for the
database by forms. That would be:
a) A LOT of work.
b) A security disaster.

If your friend has the possibilies of actually using the data, he probably
has some server-side language like PHP (why else post in alt.php.sql?). In
that case he's better of using CSV's instead of a database.

In all propability, your friend also hasn't got any serverside language if
he hasn't got a database (in most hosting package these are combined), and
giving him access to that database isn't even usefull.

Grtz,
--
Rik Wasmus

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация