I have two ways to create structure of tables in database
- Import a sql file in database using UI or shell.
- create a php database installer script like drupal.
I want to know about which will be the good way to create database structure or is there any other way apart from above.
Thanks in Advance
Well, it depends how are you going to use it, but if you are creating a drupal type CMS, then creating an automatic table structure is most likely the best approach.