in2tech Posted June 14, 2009 Report Share Posted June 14, 2009 I am getting an on the initial installation. If I need to CHMOD files I have not seen which ones need permission. Where is the list of files to provide permissions and what to CHMOD them too? Warning: mysql_connect() [function.mysql-connect]: Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2) in /data/19/1/45/33/1860196/user/2019948/htdocs/phpvms/core/classes/MySQL.class.php on line 121 Thanks! Quote Link to comment Share on other sites More sharing options...
Administrators Nabeel Posted June 15, 2009 Administrators Report Share Posted June 15, 2009 Who is your host? GoDaddy? You'll have to email them, something is not setup correctly on their end Quote Link to comment Share on other sites More sharing options...
in2tech Posted June 15, 2009 Author Report Share Posted June 15, 2009 Do I have to CHMOD the files when I get them to check their errors? It's not Godaddy and it is not a free hosting solution! I made a folder called phpvms in the htdocs public folder is this correct? Thanks! Quote Link to comment Share on other sites More sharing options...
Administrators Nabeel Posted June 15, 2009 Administrators Report Share Posted June 15, 2009 You only have to chmod certain files (check the docs) The problem you're having is a problem with your host: Can't connect to local MySQL server through socket '/tmp/mysql.sock' There's an error or problem with their database server install. Try creating a new database user and new database. Contact them as well Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.