Question about plugins creating tables
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)
- The topic ‘Question about plugins creating tables’ is closed to new replies.