[Chugalug] Newbie question

Dave Brockman dave at brockmans.com
Sun Aug 18 23:30:22 UTC 2013


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 8/18/2013 5:25 PM, Randy Yates wrote:
> You should also get in the habit of creating a user specifically
> for the database, instead of using the root user. Throwing root at
> it is easy, but force yourself to do the tedious stuff. Create a
> database user and grant it privileges to just that database.

If your environment allows it, I'd recommend two users per database.
One with read-only privs that you make all your non-updating db calls
with.  But definitely add a user separate from the database "root"
account.

> Also check your php.ini and see what the error_reporting is set to.
> You may want to set it to show more information so that you can
> debug your code easier. If it's not already, set it to E_ALL

And the setting I mentioned previously, they go hand in hand.

Regards,

dtb
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.17 (MingW32)
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/

iQEcBAEBAgAGBQJSEVkNAAoJEMP+wtEOVbcdNhoH/3TBAzzecPJkRcCrZwWCJb70
AlDxIqN+gqPx+e0rZ9+4bUra/T+zqbD7+/zJYtcHVLQI39Pwi0/5BpI7TaZN4l9U
E1+rdwj50guqWoLbFQY8OeRdfTV9ETlhmKH3IMoGEzuZQB+skWO6vqRQFlPSFcZb
3kgGzArMorX5zl3XOAHnpMsC6Ze889AgAmNxUxUqbMUKg7XuaIX95lfD2/lVSb7z
0QjuEDq0ieLQYNRBCIxSLn2fYPrgL7BcGnCLpVtm5rsQSN6SxStI75OQQ+5NCDZf
+h+Y9LweWnGOhI/kIXCGQ8QksscHAhdGbW02nErSLxXZjJUbfG9F1GnmqL6BPJw=
=yAF/
-----END PGP SIGNATURE-----


More information about the Chugalug mailing list