0 votes
52 views
in MySQL by

How to dump mysql table structure with data?

I want to export a mysql table with data by using mysql command. Export table the structure with data.

1 Answer

0 votes
by (3.9k points)

If you want to export mysql table structure with data by using mysql command (mysqldump). 

See the following command to export mysql table structure with data:-

mysqldump -h localhost -u root -p database_name > dump_file.sql

Share:- Whatsapp Facebook Facebook


Welcome to Developerhelpway Q&A, where you can ask questions and receive answers from other members of the community.

Categories

...