You can do with the --no-data option with mysqldump command
mysqldump -h yourhostnameorIP -u root -p --no-data dbname > schema.sql
You can do with the --no-data option with mysqldump command
mysqldump -h yourhostnameorIP -u root -p --no-data dbname > schema.sql