WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] cross-references plugin trying to access mysql with root@localhost (3 posts)

  1. johanl
    Member
    Posted 5 years ago #

    Hello!
    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

  2. Francesc Hervada-Sala
    Member
    Posted 5 years ago #

    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,
    Francesc

  3. johanl
    Member
    Posted 5 years ago #

    Thanks a lot! I've upgraded the plugin (and WP to 2.7) and the problem seems to be gone!
    :-)
    /johan

Topic Closed

This topic has been closed to new replies.

About this Topic