Re: to paulm Re: [PHP] mysql trouble
| From: | Luis A | Date: | Wed, 26 Feb 2003 14:14:50 +0000 |
| Subject: | Re: to paulm Re: [PHP] mysql trouble | ||
| References: | 1 2 3 4 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-137231@lists.php.net to get a copy of this message | ||
i know
the sql server in default does not have password
----- Original Message -----
From: "paulm" <paulm@sgi.rdscv.ro>
To: "Luis A" <webmaster@iscf.esisc.colombus.cu>
Sent: Tuesday, February 25, 2003 8:06 PM
Subject: Re: [PHP] to paulm Re: [PHP] mysql trouble
> k but you still need to do "" insted of password, and see if you have a
sql
> password for root, it's not system password
> ----- Original Message -----
> From: "Luis A" <webmaster@iscf.esisc.colombus.cu>
> To: <php-general@lists.php.net>
> Sent: Wednesday, February 26, 2003 2:21 AM
> Subject: [PHP] to paulm Re: [PHP] mysql trouble
>
>
> 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?
>
> ----- Original Message -----
> From: "paulm" <paulm@sgi.rdscv.ro>
> To: "Luis A" <webmaster@iscf.esisc.colombus.cu>
> 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" <webmaster@iscf.esisc.colombus.cu>
> > To: <php-general@lists.php.net>
> > 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
>
>