Please upgrade here. These earlier versions are no longer being updated and have security issues.
HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.

Is this a proper way to change Vanilla Forums database table prefix?

edited March 2012 in Vanilla 2.0 - 2.8

Are the following steps correct?

  • First install Vanilla Forums by following this doc.

  • Rename the 32 main tables in the DB from gdn_tablename to customprefix_tablename. For example, you would rename gdn_activity to op2mro445_activity.

The SQL command to be used in phpMyAdmin would be:

Rename table wp_commentmeta to op2mro445_commentmeta;

  • Now open /conf/config.php inside the Vanilla Forums' root directory and add this:

$Configuration['Database']['DatabasePrefix'] = 'op2mro445_'; (as per the example)

right after this:
$Configuration['Database']['Password'] = 'samsak123';

My forum seems to be running fine after this. But I would still like to confirm — is it all?

Best Answer

  • 422422 Developer MVP
    Answer ✓

    Not sure if u need to touch htaccess. But looks good.

    There was an error rendering this rich post.

Answers

  • Hello? Can anyone knowledgeable please confirm if the steps followed above are correct, and all that are needed?

  • 422422 Developer MVP
    Answer ✓

    Not sure if u need to touch htaccess. But looks good.

    There was an error rendering this rich post.

Sign In or Register to comment.