>> But that's just because I prefer using 'mysql' on the command line.
I'm coming to prefer the same thing, but I don't have command-line access on the MySQL box at my hosting company.
I'm not sure on the system that's running phpMyAdmin, but the one on which my site is located does list mysqli
, /etc/php5/cgi/conf.d/mysql
So ... I'll look at that link and see about executing the SP's from my site instead of the phpMyAdmin system.
Main Topics
Browse All Topics





by: nemws1Posted on 2009-08-27 at 11:32:43ID: 25201232
Well, I'd argue with this statement: "phpMyAdmin was considered a usable tool for managing a DB under it". ;-) But that's just because I prefer using 'mysql' on the command line.
ogy.com/ch adlloyd/?p age_id=11
Calling/using stored procedures via a language (in this case, PHP) requires a special interface. For example, its perfectly legal for a stored procedure to contain three SELECT statements in it, each with a different number of columns. How does a language handle "call my_proc()" returning 3 sets of results? With PHP, this is done with the new 'mysqli' (note the trailing 'i') interface and not the standard "mysql" interface.
phpMyAdmin supports 'mysqli', but you have to have your PHP built with it enabled (by default, for me, it does not). Check phpinfo() and see if 'mysqli' is enabled. That's most likely your problem.
Once you get that working, take a look at this. It looks like it might help you when dealing with stored procedures:
http://www.lakewoodtechnol