MySQL 1303 Error Resolution (NAVICAT) _mysql

Source: Internet
Author: User
1303-can ' t create a PROCEDURE from within another stored routine.
This error message is more difficult to understand, so carefully check the contents of the stored procedure, there is no problem, the code is as follows:
Copy Code code as follows:

CREATE PROCEDURE AddData ()
Begin
Declare v int default 0;
While v < 4000000
Todo
INSERT INTO Testmemory
Values (V, ' Ffffffffffffffffffffffffffasgeweeeeeeeeeeeeeg ');
Set V = v + 1;
End while;
End

Later search, just know, very simple problem, is in the tool to create a stored procedure, do not need this line: Create PROCEDURE addData (), so write is the command line directly executed is no problem. Then remove the first line, sure enough to solve the problem.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.