• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Database Error when running via command line

#1
[eluser]Paul Wenzel[/eluser]
I am attempting to run a CodeIgniter app via the OSX command line. The goal is to automate webkit2png, which needs to be run from a local account (not Apache).

After following the CronScript instructions in the wiki, I am getting the error Unable to connect to your database server using the provided settings.

This error message appears only when I run the script via the command line PHP binary, but not when I run it through my web server (in my web browser). Anyone else run in to database issues when doing CI command line?

Thanks!


Messages In This Thread
Database Error when running via command line - by El Forum - 07-22-2008, 10:23 AM
Database Error when running via command line - by El Forum - 08-01-2008, 08:06 AM
Database Error when running via command line - by El Forum - 08-01-2008, 08:22 AM
Database Error when running via command line - by El Forum - 08-01-2008, 08:29 AM

Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2020 MyBB Group.