WordPress.org

Ready to get started?Download WordPress

Forums

Question about plugins creating tables (1 post)

  1. drmike
    Member
    Posted 7 years ago #

    Greets:

    I'm trying to fix an issue with a plugin thats not creating it's own MySQL tables upon activation. It's running a function labeled 'maybe_create_table' which I do find in the WordPress install.

    I see in another plugin though that they run a SQL command with 'CREATE TABLE IF NOT EXISTS'

    Is either one prefered over the other? Is there any issues with using either/or when you're working with different MySQLs? (ie 4 and 5)

    Thanks,
    -drmike

Topic Closed

This topic has been closed to new replies.

About this Topic