* Thus wrote James Hamilton ([EMAIL PROTECTED]):
> > > [snip]
> > > The user has both localhost and % host privileges in the mysql
> > > permission
> > > schema.
> > > [/snip]
> > >
> > Any other thoughts?
> > [/snip]
> >
> current testing code:
>
> $link = mysql_connect("localhost", "user", "pas
> > 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.
[snip]
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");
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
From: "James Hamilton" <[EMAIL PROTECTED]>
> 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");
> print "connected";
>
> > [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? (
[snip]
> [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? (code)
P.S. Always
[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
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
8 matches
Mail list logo