(06-09-2016, 10:42 AM)InsiteFX Wrote: No just run the code from straight php
Hello everyone
Thanks so much for the prompt guide you are giving me. I have used the suggested code of InsiteFx in my index.php (in a manner that eliminates CI) and still could not connect to the DB. The error msg is:
"Failed to Connect to MySQL: Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2)"
Thanks in advance for further suggestion.