> hey i think the root does not need password to connect to mysql > > or yes ???? > > on my server the root user does not have password > thats why i dont know why he does not update the database?
You have no internet access, you think root does not need a password, and you're a programmer... wow. You can set a password for the root user in MySQL. I guess it's not "required" to have one, but it's a very good idea to have one. ---John W. Holmes... PHP Architect - A monthly magazine for PHP Professionals. Get your copy today. http://www.phparch.com/ > ----- Original Message ----- > From: "paulm" <[EMAIL PROTECTED]> > To: "Luis A" <[EMAIL PROTECTED]> > Sent: Tuesday, February 25, 2003 6:48 PM > Subject: Re: [PHP] mysql trouble > > > > you don't have a password for root in mysql_connect > > ----- Original Message ----- > > From: "Luis A" <[EMAIL PROTECTED]> > > To: <[EMAIL PROTECTED]> > > Sent: Wednesday, February 26, 2003 1:04 AM > > Subject: [PHP] mysql trouble > > > > > > hi pasl i got a troblem here > > > > > > if some one can help me ? > > > > take a look at this > > <?php > > // process form > > $link = mysql_connect("localhost", "root"); > > mysql_select_db("mydb",$db); > > $sql = "INSERT INTO agenda (nombre, direccion, telefono, email) " + > > "VALUES ('$nombre', '$direccion', '$telefono', '$email')"; > > $result = mysql_query($sql); > > echo "¡Gracias! Hemos recibido sus datos.\n"; > > > > ?> > > > > > > > > HE DOES NOT WORKING > > > > any subjest ? > > > > > > > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php