I am new to OJS system however I was trying to localhost it on my Mac even after having configured MySQL, Apache and all working fine. I am getting the following error. Any assistance is appreciated
[Database error has occurred: No such file or Directory]
It might be difficult to assist you with only this information about the problem. Did you install it directly on your mac, do you use something like XAMPP or VirtualBox?
Hm my advice would be to always use a VirtualBox or similar to have a boxed environment where you do your work - including the option to back up, create restore points and to duplicate your local server.
Did you suceed logging into your MySQL server as suggested above?