RE: [PHP] Mysql Authentication problem

2003-09-11 Thread James Hamilton
> > How did you create this new user? > > Using mysql grant statements: > > originally: > > grant all privilges on name.* to [EMAIL PROTECTED] identified by 'pass'; > grant all privileges on name.* to user@'%' identified by 'pass; > and just now > grant all privileges on name.* to user@'127.0.0.

Re: [PHP] Mysql Authentication problem

2003-09-11 Thread James Hamilton
On Thu, 11 Sep 2003, CPT John W. Holmes wrote: > > current testing code: > > > > $link = mysql_connect("localhost", "user", "pass" ) > > or die("Could not connect : " . mysql_error()); > > print "Connected successfully"; > > mysql_select_db("name") or die("Could not select database"); > > pri

RE: [PHP] Mysql Authentication problem

2003-09-11 Thread James Hamilton
> > [snip] > > The user has both localhost and % host privileges in the mysql > > permission > > schema. > > [/snip] > > > > Add the same user with 127.0.0.1 as the host. Make sure you reload > > ("flush") the users table > > > > Any other thoughts? > [/snip] > > What is your connection string? (

[PHP] Mysql Authentication problem

2003-09-11 Thread James Hamilton
Hi I am having problems using php to access a Mysql database as an authecitcated user. Environment: Solaris 8, apache 1.3.28, php 4.3.1, mysql 3.23.43 My php scripts can connect to the test database using null user and password. However, when I attempt to connect from a php script as user foo

[PHP] Script to interpret ssi include calls

2001-05-04 Thread James Hamilton
Hi I am developing pages for a site that has been constructed using nested apache ssi virtual include calls to build each page. Each included page may contain calls to other pages etc This means that if I call page elements into a php page (using include()/require() ) the calls arent parsed b

[PHP] problem with cgi-binary

2001-02-28 Thread James Hamilton
anyone help? James Hamilton [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]