I have a dozen stored procedure written in my local phpmyadmin. I want to export it to my server along with the tables. Is there any way to do this?. Please help.
Thanks in advance..
I have a dozen stored procedure written in my local phpmyadmin. I want to export it to my server along with the tables. Is there any way to do this?. Please help.
Thanks in advance..
You could use MySQLDump to export your stored proc :
Stored procedured in dump with everything else:
mysqldump -r <dbname> #or
mysqldump --routines <dbname>
Just the stored procedures:
mysqldump -n -t -d -r <dbname> #or
mysqldump --no-create-db --no-create-info --no-data --routines <dbname>