I'm new to Apache/PHP/MySQL/Linux and I'm still in the learning process
(coming from Windows/IIS/ASP background).
A tutorial site covering MySQL and PHP has the following code...
$db = mysql_connect("localhost", "root");
mysql_select_db("table",$db);
$result = mysql_query("SELECT ...",$db);
I can revise the code and it works fine on my site, exactly what I would
want.
However, I noticed that the root account is being used and I can't help but
wonder if there are any security implications.
I'll be creating/updating/deleting/retrieving records in pre-set tables
using PHP and MySQL.
What are the dangers of using the root account within a PHP script as shown
above?
--
Mike