// Create table in my_db database
$sql = "CREATE TABLE person
Except that I thought I should delete part of it because I don't intend to create a NEW database and the database is already open.
My intention is to insert data from one table to the other ( created table ).
Log into MySQL command line using the credentials you are currently providing in your php script. Then execute the same queries to create the db and table. Then do a "SHOW TABLES" and see if that table has been created. I would guess and say that you haven't created the table successfully, either because of permissions or otherwise.