Amaranth87 Posted November 21, 2008 Share Posted November 21, 2008 alright well ill give the run down i just started making a site on Tripod. which uses PHP4U. which in turn uses mysql as the "Database" and everytime i try to open the " Manage Database" or "PhpMyAdmin" i get this message on the following page " Warning: mysql_connect(): Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2) in /data/services/lycos/uk/tripodphpmyadmin/include/tool/php4u/common.inc on line 561 Access denied " i do not know if anyone else has had this problem yet so if you know how to solve it please help? Quote Link to comment https://forums.phpfreaks.com/topic/133695-mysql-connection-trouble/ Share on other sites More sharing options...
fenway Posted November 21, 2008 Share Posted November 21, 2008 Yes, there's a sticky in the config child board... moving it there. Quote Link to comment https://forums.phpfreaks.com/topic/133695-mysql-connection-trouble/#findComment-695748 Share on other sites More sharing options...
corbin Posted November 21, 2008 Share Posted November 21, 2008 It means permission is denied to the socket. You either need to change the permissions, or an easier solution would be to just use a TCP connection. IE mysql_connect('host') Quote Link to comment https://forums.phpfreaks.com/topic/133695-mysql-connection-trouble/#findComment-695797 Share on other sites More sharing options...
Haplo Posted March 26, 2009 Share Posted March 26, 2009 How would he change permissions? And to what would he change permissions to? What about using a TCP connection? (how would I do that) Where is mysql_connect() found? Quote Link to comment https://forums.phpfreaks.com/topic/133695-mysql-connection-trouble/#findComment-794684 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.