Support » Plugins and Hacks » cross-references plugin trying to access mysql with root@localhost

  • Resolved johanl


    I’m using the cross-references plugin 1.4.02 with wordpress 2.6.3

    Everything works fine except when deleting a post with a [cref mypostslug] in it. Then I get the following error:

    Warning: mysql_query() [function.mysql-query]: Access denied for user ‘root’@’localhost’ (using password: NO) in …/wp-content/plugins/cross-references-plugin/crossreferences.php on line 159

    Plus a bunch of other errors that are related to the first error.

    Why is the plugin trying to access the database with the root user and also assuming that the DB is on localhost?

    If I create a new post with a new cref in it – the link is generated ok and a record is written into the wp_crossreferences table. The record is removed when the post is deleted even though I get all the errors.

    best regards Johan

Viewing 2 replies - 1 through 2 (of 2 total)
  • Hello Johanl,

    I did not notice your post until now.

    This was a bug in my plugin, it has been fixed with release 1.4.04.

    Best regards,



    Thanks a lot! I’ve upgraded the plugin (and WP to 2.7) and the problem seems to be gone!

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘cross-references plugin trying to access mysql with root@localhost’ is closed to new replies.