Alright, For those who are making their own server want to know how to make their mysql into batch must read this tutorial.
First you must download this file:
MySQL Files needed for bat file
Now once downloaded extract it into your servers files (probably best in a diff folder than where the world and logon is located)
go in the folder: mysql/bin/ and open the text file Edit ME!!!.txt in there change the things that needed to be change to be familiarized with your server and save it as my.cnf.
Next is to put your servers MySQL data into the batch mysql. go to C:/Program Files/MySQL/MySQL Server and copy the Data folder to C:/Repack name/Server/mysql after that you are done. just run the mysql.bat and everything will work. if not than you probably have done something wrong...