One way to generate a database script in MySQL is using the mysqldump feature. Another option is creating a backup of MySQL:
1. Log on to MySQL Administrator
2. Click Backup on the Left Panel
3. In the Backup Project insert the name of the backup and in Select Schema the name of the DB from which you want to generate the script
4. Click > (next)and then click Execute Backup Now
I hope these is what you were looking for...