{"action":"created","issue":{"url":"https://api.github.com/repos/phpmyadmin/phpmyadmin/issues/11793","labels_url":"https://api.github.com/repos/phpmyadmin/phpmyadmin/issues/11793/labels{/name}","comments_url":"https://api.github.com/repos/phpmyadmin/phpmyadmin/issues/11793/comments","events_url":"https://api.github.com/repos/phpmyadmin/phpmyadmin/issues/11793/events","html_url":"https://github.com/phpmyadmin/phpmyadmin/issues/11793","id":124089546,"number":11793,"title":"lost source of procedure","user":{"login":"howamigoingtorememberthis","id":16465793,"avatar_url":"https://avatars.githubusercontent.com/u/16465793?v=3","gravatar_id":"","url":"https://api.github.com/users/howamigoingtorememberthis","html_url":"https://github.com/howamigoingtorememberthis","followers_url":"https://api.github.com/users/howamigoingtorememberthis/followers","following_url":"https://api.github.com/users/howamigoingtorememberthis/following{/other_user}","gists_url":"https://api.github.com/users/howamigoingtorememberthis/gists{/gist_id}","starred_url":"https://api.github.com/users/howamigoingtorememberthis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/howamigoingtorememberthis/subscriptions","organizations_url":"https://api.github.com/users/howamigoingtorememberthis/orgs","repos_url":"https://api.github.com/users/howamigoingtorememberthis/repos","events_url":"https://api.github.com/users/howamigoingtorememberthis/events{/privacy}","received_events_url":"https://api.github.com/users/howamigoingtorememberthis/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2015-12-28T16:42:48Z","updated_at":"2015-12-28T19:54:44Z","closed_at":"2015-12-28T17:32:49Z","body":"I created a procedure called book and a function called price in mySQL.\r\nNow it seems that mySQL has lost the definition of these while it still seems happy to execute them.\r\n#####################################################################\r\nmysql> show create procedure book;\r\nERROR 2006 (HY000): MySQL server has gone away\r\nNo connection. Trying to reconnect...\r\nConnection id:    10980786\r\nCurrent database: villaabs_database\r\n\r\n+-----------+----------+------------------+----------------------+----------------------+--------------------+\r\n| Procedure | sql_mode | Create Procedure | character_set_client | collation_connection | Database Collation |\r\n+-----------+----------+------------------+----------------------+----------------------+--------------------+\r\n| book      |          | NULL             | utf8                 | utf8_unicode_ci      | utf8_unicode_ci    |\r\n+-----------+----------+------------------+----------------------+----------------------+--------------------+\r\n1 row in set (0.00 sec)\r\n\r\nmysql> mysql> show create function price;\r\nERROR 2006 (HY000): MySQL server has gone away\r\nNo connection. Trying to reconnect...\r\nConnection id:    10981048\r\nCurrent database: villaabs_database\r\n\r\n+----------+----------+-----------------+----------------------+----------------------+--------------------+\r\n| Function | sql_mode | Create Function | character_set_client | collation_connection | Database Collation |\r\n+----------+----------+-----------------+----------------------+----------------------+--------------------+\r\n| price    |          | NULL            | utf8                 | utf8_unicode_ci      | utf8_unicode_ci    |\r\n+----------+----------+-----------------+----------------------+----------------------+--------------------+\r\n1 row in set (0.00 sec)\r\n\r\nmysql> mysql> select price('2016-04-02','2016-04-08');\r\nERROR 2006 (HY000): MySQL server has gone away\r\nNo connection. Trying to reconnect...\r\nConnection id:    10981359\r\nCurrent database: villaabs_database\r\n\r\n+----------------------------------+\r\n| price('2016-04-02','2016-04-08') |\r\n+----------------------------------+\r\n|                              600 |\r\n+----------------------------------+\r\n1 row in set (0.00 sec)\r\n\r\nmysql> \r\n############################################################################\r\n\r\nAs you can see price executes but the definition is lost. Likewise for book - but more difficult to demonstrate.\r\n\r\n\r\n\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/phpmyadmin/phpmyadmin/issues/comments/167641103","html_url":"https://github.com/phpmyadmin/phpmyadmin/issues/11793#issuecomment-167641103","issue_url":"https://api.github.com/repos/phpmyadmin/phpmyadmin/issues/11793","id":167641103,"user":{"login":"lem9","id":195509,"avatar_url":"https://avatars.githubusercontent.com/u/195509?v=3","gravatar_id":"","url":"https://api.github.com/users/lem9","html_url":"https://github.com/lem9","followers_url":"https://api.github.com/users/lem9/followers","following_url":"https://api.github.com/users/lem9/following{/other_user}","gists_url":"https://api.github.com/users/lem9/gists{/gist_id}","starred_url":"https://api.github.com/users/lem9/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lem9/subscriptions","organizations_url":"https://api.github.com/users/lem9/orgs","repos_url":"https://api.github.com/users/lem9/repos","events_url":"https://api.github.com/users/lem9/events{/privacy}","received_events_url":"https://api.github.com/users/lem9/received_events","type":"User","site_admin":false},"created_at":"2015-12-28T19:54:44Z","updated_at":"2015-12-28T19:54:44Z","body":"This is not a forum. For phpMyAdmin support, see https://www.phpmyadmin.net/support/. For MySQL support, see http://lmgtfy.com/?q=mysql+support."}}