Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

phpmyadmin cannot Export procedure

When I export MySQL database using phpMyAdmin it exports all the table data perfectly but does not exports PROCEDURES properly. What I got is:

DELIMITER $$
--
-- Procedures
--
DROP PROCEDURE IF EXISTS `sp_users_get`$$
$$

DROP PROCEDURE IF EXISTS `sp_users_save`$$
$$

There should be more code like

CREATE PROCEDURE `sp_user_get`......

till the procedure ends.

Can anyone help me to successfully export database from phpMyAdmin?

like image 638
PHP Mentor Avatar asked Nov 07 '12 07:11

PHP Mentor


1 Answers

I recommend using adminer ( http://www.adminer.org/ ) as an alternative to phpmyadmin. Phpmyadmin has become really bloted and it's often buggy, slow, and hey; you even get smaller dumps with adminer!

The interface is austere, but once you get used to it it's fantastic. my 2c :)

like image 142
Steve Horvath Avatar answered Nov 20 '22 08:11

Steve Horvath