Jump to content
Larry Ullman's Book Forums

Recommended Posts

Hello Larry,

I am working my way through Effortless E-Commerce and can't seem to create a stored procedure using the downloadable code from your site. My issue I believe is my version of phpMyAdmin isn't supporting delimiters. I continually get this error. Is there a way to work around this?



SQL query: b_help.png

FROM general_coffees
ORDER BY category;


MySQL said: b_help.png

#1064 - You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'DELIMITER $$
CREATE PROCEDURE select_categories (type VARCHAR(6))
IF ty' at line 1 

Link to post
Share on other sites
  • 1 month later...

I just ran into this as well but only when trying to create stored procedures on my remote/hosted.


My host (1&1) is using phpmyadmin 2.6.4, really old as is yours. In addition to the MYSQL version above, you'll need a later version of phpmyadmin to support routines. The currrent version is 4.1.5, as of Jan 22, 2014.


I'd upgrade, and point to the new phpmyadmin.


If you're not using localhost and stuck with the old phpmyadmin on a host, you can upload a newer phpmyadmin to it and point it to your remote database.

Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Create New...