Play in Tomcat en_US

wangdx edited this page Jun 4, 2013 · 2 revisions
Clone this wiki locally

Play B3log using Tomcat

You need have

  • MySql 5+
  • Tomcat 6+

  1. Create b3log database in MySql
  2. Config your datasource in ${b3log-solo-mysql-x.×.x}/WEB-INF/classes/local.properties

### JDBC database Configurations ###

jdbc.URL=jdbc:mysql://localhost:3306/b3log?useUnicode=yes&characterEncoding=UTF-8
jdbc.username=root
jdbc.password=yourpassword

The prefix should be set as some string other than empty

jdbc.tablePrefix=some_prefix
  1. Deploy your b3log into Tomcat and enjoy it.