Page tree

Skip to end of metadata
Go to start of metadata

Once the database is set up, you need to run a script to create the tables, users, etc. that CTP will use. If you haven’t done so already, extract CTP from the download:

unzip em_<version>.zip

MySQL

If you are using MySQL on the same host:

    mysql –u root –p < mysql_db.sql

If you are using MySQL on a different host:

    mysql –u root –p –-host=<host> --port=<port> < mysql_db.sql

Oracle

If you are using Oracle on the same host:

    sqlplus <user>/<pass> < oracle_db.sql

If you are using Oracle on a different host:

  1.  Edit oracle_db.sql line 12 and change connect em/em; to 

    connect em/[email protected]<host>:<port>/<sid>;
  2. From the command line, run

    sqlplus <user>/<pass>@<host>:<port>/<sid> < oracle_db.sql
  • No labels