This documentation is for WSO2 API Manager 2.5.0 View documentation for the latest release.
Page Comparison - Changing the Default API-M Databases (v.11 vs v.12) - API Manager 2.5.0 - WSO2 Documentation

All docs This doc

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Corrected the path /DOCUMENTATION-8530

...

  1. Connect to the database and run the relevant script. 
    For example, run the following command to create the MB tables in a MySQL database.

    Code Block
    languagepowershell
    mysql -u root -p -DWSO2MB_DB < '<API-M_HOME>/dbscripts/mb-store/mysql-mb.sql';
    Note

    <API-M_HOME>/dbscripts/mb-store/mysql.sql is the script that should be used for MySQL 5.6 and prior versions. If you database is MySQL 5.7 or later version, use <API-M_HOME>/dbscripts/mb-store/mysql5.7.sql script file.

  2. Restart the WSO2 API-M server.

...