The problem may be with the connection sir, just check whether you are getting the rowcount value for the newly created table.

If you get that then no issues your table is created. You had some problem in creating the table itself which is due to connection sir.