Re: [PHP] MySQL Madness

2003-01-29 Thread Sunfire
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

Re: [PHP] MySQL Madness

2003-01-29 Thread Adam Voigt
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

Re: [PHP] MySQL Madness

2003-01-29 Thread Sunfire
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

Re: [PHP] MySQL Madness

2003-01-29 Thread Mike Vanecek
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

Re: [PHP] MySQL Madness

2003-01-29 Thread Rick Emery
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,

RE: [PHP] MySQL Madness

2003-01-29 Thread Bryan Brannigan
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

[PHP] MySQL Madness

2003-01-29 Thread Gibbs, Liam - SXIA
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