WordPress.org

Support

Support » Plugins and Hacks » MySQL server connection problem post-activation

MySQL server connection problem post-activation

  • I’m testing Popularity Contest with WPMU 1.2.1. Once I activate the plugin, the 2 tables are created and everything looks fine in the admin. However, when I check my site, I get 2 PHP error messages right away:

    Warning: mysql_query() [function.mysql-query]: Can’t connect to local MySQL server through socket ‘/var/run/mysqld/mysqld.sock’ (2) in /<mydomain>/html/wp-content/plugins/popularity-contest.php on line 1340

    Warning: mysql_query() [function.mysql-query]: A link to the server could not be established in /<mydomain>/html/wp-content/plugins/popularity-contest.php on line 1340 Can’t connect to local MySQL server through socket ‘/var/run/mysqld/mysqld.sock’ (2) on line: 1340

    where <mydomain> is the local path to my domain on the server.

    Any ideas?

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘MySQL server connection problem post-activation’ is closed to new replies.
Skip to toolbar