MySQL Stored Procedures

All clients can use MySQL stored procedures and routines on their web hosting accounts.

To use stored procedures, you should first create a database and add a database user to it. Make sure that you select the "ALL PRIVILEGES" option when you add the user to the database.

Then you should open cPanel > PhpMyAdmin, navigate to your database, open the SQL tag and paste the stored procedure code.

Comprehensive details on MySQL stored procedures and their syntax can be found in the MySQL5 official documentation:

http://dev.mysql.com/doc/refman/5.1/en/stored-routines.html

 

** Please note you do not need to specify the DEFINER variable when running your code in PhpMyAdmin **

  • cpanel, Hosting, Hosting India, Domain, dns, 99rs hosting
  • 0 Usuários acharam útil
Esta resposta lhe foi útil?

Artigos Relacionados

I lost or forgot my cPanel or WHM password - how can I reset it?

Resetting your cPanel password and finding your cPanel username is easy and can be handled...

Ordering Hosting - Domain Registration and Transfer Options

When ordering a hosting plan you will be given 3 options:   Register a new domain. Transfer...

PHP - Cannot modify header information - headers already sent by ...

This message means that your PHP script is sending data to the web browser before the headers and...

Setting PHP Environment Variables

To set custom PHP Environment Variables such as register_globals, display_errors,...

Setting up Private Nameservers on a domain registered with Sun Server Hosting

The steps below outline the process for setting up private nameservers on a domain registered...