You need to add you create table entries in schema-440to441.sql. If you do not want to redeploy (without using cloudstack-setup-databases) you can go to mysql prompt, use cloud db and create table. After creating table restart the MS will work.
Thanks, Jayapal On 29-Sep-2014, at 9:37 AM, Abhinandan Prateek <agneya2...@gmail.com> wrote: > You still need to write Sql for creating new db table in MySQL db. > > -abhi > >> On 29-Sep-2014, at 6:41 am, Kuang-Ching Wang <kuangching.w...@gmail.com> >> wrote: >> >> Hi, >> >> I need to create a new table to store data in the cloudstack DB. I followed >> existing examples to: >> - add a new VO class, with @Entity and @Table(name = “new_table_name") >> - add a new Dao interface >> - add a new DaoImpl class for the interface >> - update spring context (of my network plugin) with a new bean id for the >> new DaoImpl class >> >> I was expecting with the change and a reinstall of my cloudstack-management >> service (even doing cloudstack-setup-databases again), a new table would be >> created. However, this is not happening. >> >> Is there some step I missed? >> >> Thanks, >> KC