Opening a db connection in a cron job

software development

#1

I’m getting this error when connecting to a database through a cron job.
[php]Warning: mysql_connect(): Access denied for user ‘[username]’@‘shop.sanibelbean.com’ (using password: YES)[/php]

shop.sanibelbean.com is not my site.

Can anyone offer some guidance here?

Thank you Michael


#2

might need to post a bit more of your cron job…