[Chugalug] Newbie question
dave at brockmans.com
Sun Aug 18 23:30:22 UTC 2013
-----BEGIN PGP SIGNED MESSAGE-----
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"
> 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.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.17 (MingW32)
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/
-----END PGP SIGNATURE-----
More information about the Chugalug