activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Cyburg <>
Subject Specify MySQL database user and password for Cron Job
Date Wed, 06 May 2009 13:34:32 GMT

Hi all,

Does anyone here know if it is possible to specify which database user and
password my Cron Job will use when accessing a MySQL database.

My code accesses the My SQL database in question from a PHP page, which
contains defines to specify the database user and password to use; when I
navigate to the page in question using a browser, the code executes as

However, when I execute the page as a Cron Job, the page fails (I see this
in the email report the server sends me) with error messages that would
suggest that the Cron Job is trying to use the root account with no password
to access the database.

How do I specify which database account my Cron Job should use?

View this message in context:
Sent from the ActiveMQ - User mailing list archive at

View raw message