AnAmericanGunner Posted March 7, 2010 Share Posted March 7, 2010 Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2) I have no idea what this means, and google didn't turn up anything that I could understand. Apparently it has to do with some MySQL program? But I use only notepad for editing, filezilla for FTP, and then upload directly to my domain at 1and1.com Can anyone help me? Quote Link to comment https://forums.phpfreaks.com/topic/194456-mysqldsock/ Share on other sites More sharing options...
jl5501 Posted March 7, 2010 Share Posted March 7, 2010 presumably your code is trying to connect to a database?? Quote Link to comment https://forums.phpfreaks.com/topic/194456-mysqldsock/#findComment-1022806 Share on other sites More sharing options...
AnAmericanGunner Posted March 7, 2010 Author Share Posted March 7, 2010 Yes; it's for a login script. Quote Link to comment https://forums.phpfreaks.com/topic/194456-mysqldsock/#findComment-1022810 Share on other sites More sharing options...
jl5501 Posted March 7, 2010 Share Posted March 7, 2010 So, your problem is, that it is failing to find the database. That particular error normally indicates that that database server is not running. Quote Link to comment https://forums.phpfreaks.com/topic/194456-mysqldsock/#findComment-1022816 Share on other sites More sharing options...
AnAmericanGunner Posted March 7, 2010 Author Share Posted March 7, 2010 Would that be like the file (I have it separate; others have it right on the page) that has the like database name and such listed? Quote Link to comment https://forums.phpfreaks.com/topic/194456-mysqldsock/#findComment-1022820 Share on other sites More sharing options...
jl5501 Posted March 8, 2010 Share Posted March 8, 2010 That would be the file that is handling the connection, yes Quote Link to comment https://forums.phpfreaks.com/topic/194456-mysqldsock/#findComment-1022899 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.