You are here: Re: Load Data InFile fails « PHP Programming Language « IT news, forums, messages
Re: Load Data InFile fails

Posted by Dave on 08/02/05 02:14

On Mon, 01 Aug 2005 23:32:29 -0400, Bruce A. Julseth decided we needed to
hear:
<snip>
> Okay. I'll try to grant with *.*. I'll also experiment with "Use"ing
> different databases before root issues the grant. Thanks.

hopefully that does the trick
>
> Question: What are "privs "? I don't understand your statement "As an aside
> your privs are very broad here - I guess for test it doesn't matter, but
> careful when you move to production." I'd appreciate if you could expand on
> your comment. Thanks..
>
> Bruce

privs = privileges.

You are doing a grant all which grants every single privilege to
the user - plus you add the grant option which allows the user to
give those privs to other users.
Its (generally speaking) a bad practice to do this particularly
if the database is available directly over a network.
A better way is to grant to the user only those privs required
to perform the required task e.g. a user may only need to do
select and update (not delete, insert etc) so granting just those
two minimises risk should the worst happen and a malicious person
gets hold of the user/pass.

HTH

--
Dave <dave@REMOVEbundook.com>

(Remove REMOVE for email address)

 

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

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