Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
1.8k views
in Technique[技术] by (71.8m points)

php - How to write a stored procedure in phpMyAdmin?

I am not able to find where to write the stored procedure in phpMyAdmin and how to call it using MVC architecture.

See Question&Answers more detail:os

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Answer

0 votes
by (71.8m points)

You can easily create procedures in phpMyAdmin.

  1. Go to your database. Click 'Routines' tab in header
  2. Click on 'Add routine'

enter image description here

  1. Then a popup window will be opened. In that write your procedure and click on "GO"

For example like follows. enter image description here

That's it. You can view your created procedures under 'Routines' tab itself.

enter image description here


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...