Re: mysql_real_escape_string

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



u use localhost right? try ip instead.
127.0.0.1
----- Original Message -----
From: "Ron Piggott" <ron.php@xxxxxxxxxxxxxxxxxx>
To: "PHP DB" <php-db@xxxxxxxxxxxxx>
Sent: Saturday, April 28, 2007 6:44 AM
Subject:  mysql_real_escape_string


>
> The following PHP command
>
> $new_maintainers_notes =
> mysql_real_escape_string($new_maintainers_notes);
>
> returned this error while running in a ***cron***.
>
> Warning: mysql_real_escape_string(): Access denied for user:
> 'actsmin@localhost' (Using password: NO)
> in
/home2/actsmin/actsministries-www/memberservices/administration/ministry_dir
ectory_annual_review_maintenance.php on line 39
>
> Warning: mysql_real_escape_string(): A link to the server could not be
> established
> in
/home2/actsmin/actsministries-www/memberservices/administration/ministry_dir
ectory_annual_review_maintenance.php on line 39
>
> where
>
> $new_maintainers_notes = "Listing has been set for it's annual review";
>
>
>
> But when I return it from the web --- ie http://www........... no
> error.
>
> Any idea why the cron is upset?
>
> Ron
>

-- 
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [PHP Users]     [Postgresql Discussion]     [Kernel Newbies]     [Postgresql]     [Yosemite News]

  Powered by Linux