However, what you really need to do here is to go to cPanel and get the previous database name, table_prefix, SQL user and password to add in wp-config.php so you can simply use what you already had.
or what you are telling me here is to install a new database and change in the wp-config.php the new database name, table_prefix, SQL user and password?