Greetings everyone!
I know this issue has been discussed on the forum at length, but I'm an idiot when it comes to MySQL.... So, if anyone can provide an Idiot's guide to fixing this, I'd greatly appreciate it.
I'm running SugarCE 5.5.1 on a Mac using MAMP's apache, php, and mysql. For the most part everything works GREAT.
I've set up a cron job using Cronnix as per the note at the bottom of the Scheduler module:
Add this line to your crontab:
* * * * * cd /Applications/MAMP/htdocs/SugarCE-Full-5.5.1; php -f cron.php > /dev/null 2>&1
and removed the ' > /dev/null 2>&1' so I can get error reporting, which comes back as:
Warning: mysqli_connect(): (HY000/2002): Can't connect to local MySQL server through socket '/var/mysql/mysql.sock' (2) in /Applications/MAMP/htdocs/SugarCE-Full-5.5.1/include/database/MysqliManager.php on line 284
Could not connect to server localhost as root. port . Can't connect to local MySQL server through socket '/var/mysql/mysql.sock' (2)
I've been beating my head against the computer for about a week now with no progress, and I really need to be able to generate some automation for my application. Your help is appreciated (and needed).
Thanks.


LinkBack URL
About LinkBacks



Reply With Quote

Bookmarks