mysql duplicate a database table in a second database code example
Example: copy database mysql
mysqldump -u root -p db_caweb | mysql -u root -p root db_caweb_23012021;
mysqldump -u root -p db_caweb | mysql -u root -p root db_caweb_23012021;