Re: [PHP-DB] MySQL problem -- new to PHP

2003-02-14 Thread Evan Morris
Thanks for all the help everyone sent me on this. However, nothing seems to make any difference whatsoever (except putting the 'localhost' part in quotes). I am still getting permission denied errors based on the user credentials. I have entered a user into the user table with host='localhost',

Re: [PHP-DB] MySQL problem -- new to PHP

2003-02-14 Thread Mike Peters
On Fri, 14 Feb 2003 11:30:03 +0200 [EMAIL PROTECTED] (Evan Morris) wrote: Thanks for all the help everyone sent me on this. However, nothing seems to make any difference whatsoever (except putting the 'localhost' part in quotes). I am still getting permission denied errors based on the user

[PHP-DB] MySQL problem -- new to PHP

2003-02-13 Thread Evan Morris
Hi all I am new to PHP (just basically started yesterday). I am currently having a problem connecting to a MySQL database. My sample code is: -- ?php mysql_connect(localhost,username,password) or die (Unable to connect to MySQL server.); $db =

RE: [PHP-DB] MySQL problem -- new to PHP

2003-02-13 Thread Clarkson, Nick
PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: 13 February 2003 13:20 To: [EMAIL PROTECTED] Subject: [PHP-DB] MySQL problem -- new to PHP Hi all I am new to PHP (just basically started yesterday). I am currently having a problem connecting to a MySQL database. My sample code

RE: [PHP-DB] MySQL problem -- new to PHP

2003-02-13 Thread Clarkson, Nick
:[EMAIL PROTECTED]] Sent: 13 February 2003 14:01 To: Clarkson, Nick Subject: Re: [PHP-DB] MySQL problem -- new to PHP Well you opened up my question! Do you know where to learn PHPMyAdmin? Thanks in advance, Mark Clarkson, Nick wrote: Looks like is to do with MySQL permissions. Check your host's

RE: [PHP-DB] MySQL problem -- new to PHP

2003-02-13 Thread Gary . Every
: Thursday, February 13, 2003 7:20 AM To: [EMAIL PROTECTED] Subject: [PHP-DB] MySQL problem -- new to PHP Hi all I am new to PHP (just basically started yesterday). I am currently having a problem connecting to a MySQL database. My sample code is: -- ?php

Re: [PHP-DB] MySQL problem -- new to PHP

2003-02-13 Thread Mignon Hunter
When changing/adding permissions to the mysql db for specific users, dont forget to do 'flush privileges'... my 2 cents On Thu, 2003-02-13 at 07:19, Evan Morris wrote: Hi all I am new to PHP (just basically started yesterday). I am currently having a problem connecting to a MySQL database.