Uploaded image for project: 'phpBB'
  1. phpBB
  2. PHPBB-10327

Use "ALTER TABLE ... ADD INDEX" instead of "CREATE INDEX"

XMLWordPrintable

    Error rendering 'com.atlassian.jira.jira-view-issue-plugin:details-module'. Please contact your Jira administrators.

      Time and again I have problems with updating the board because on some servers the default DB user doesn't have the permission for the CREATE INDEX Command (don't know why).

      Current statement:
      CREATE INDEX att_ip ON phpbb_login_attempts(attempt_ip, attempt_time)

      Better:
      ALTER TABLE `phpbb_login_attempts` ADD INDEX `att_ip` ( `attempt_ip` , `attempt_time` )

            bantu Andreas Fischer [X] (Inactive)
            D@ve Dave Remmel [X] (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: