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 J.O. Aho on 05/31/06 03:52

©® 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.

You need to have the right to use the GRANT sql-function in the database
http://dev.mysql.com/doc/refman/5.0/en/grant.html

But as everyone else already said, you won't.

You could make a "wrapper" php-script that your friend can call, which does
the sql queries for him on your database. But this will be a security problem
for you and will make your friends php-scripts a bit harder to write.



//Aho

 

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

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