WordPress.org

Ready to get started?Download WordPress

Forums

MySQL server connection problem post-activation (2 posts)

  1. jshare
    Member
    Posted 7 years ago #

    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?

  2. MicahCarrick
    Member
    Posted 6 years ago #

    You probably have Google Sitemap Generator 3.0 installed which is causing the conflict. I had the same problem. Download and install Google Sitemap Generator 3.0b10 instead and you should be fine.

Topic Closed

This topic has been closed to new replies.

About this Topic