ok sorry to repeat everything already said
- Original Message -
From: Adam Voigt
To: Sunfire
Cc: Gibbs, Liam - SXIA ; [EMAIL PROTECTED]
Sent: Wednesday, January 29, 2003 1:00 PM
Subject: Re: [PHP] MySQL Madness
MySQL infact perfectly understands what localhost is
m - SXIA" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, January 29, 2003 9:45 AM
Subject: [PHP] MySQL Madness
> First off, when executing this command:
>
> $connection = mysql_connect("loca
t function
dont put the brackets there... try that and see what happens
- Original Message -
From: "Gibbs, Liam - SXIA" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, January 29, 2003 9:45 AM
Subject: [PHP] MySQL Madness
> First off, when exec
If MySQL is configured on your system correctly, you need a password in
your script. I'm curious, though, why you're accessing it as root?
Usually I create a user account in mysql and grant only the priviledges
needed for that account. It may be a mute point, but if a bug were to
crop up and yo
If you're using root, then you must use the root password in mysql_connect().
- Original Message -
From: "Gibbs, Liam - SXIA" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, January 29, 2003 8:45 AM
Subject: [PHP] MySQL Madness
First off,
nt: Wednesday, January 29, 2003 9:46 AM
> To: '[EMAIL PROTECTED]'
> Subject: [PHP] MySQL Madness
>
>
> First off, when executing this command:
>
> $connection = mysql_connect("localhost", "root", "");
>
> I get this error msg:
&g
First off, when executing this command:
$connection = mysql_connect("localhost", "root", "");
I get this error msg:
Warning: mysql_connect() [function.mysql-connect]: Access denied for user:
'root@localhost' (Using password: NO) in
/home/superpage/public_html/index.php on line 49
I've gone and
7 matches
Mail list logo