Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Issues with call to procedures. #2057

Closed
odederner1 opened this issue May 14, 2019 · 2 comments
Closed

Issues with call to procedures. #2057

odederner1 opened this issue May 14, 2019 · 2 comments

Comments

@odederner1
Copy link

The version of OS and ProxySQL: RedHat, Proxysql 2.0.4-116

we have calls to stored procedures.
procedures are returning a parameter to Node JS application via: select my_var
in procedure body
it seems that in this way data doesn't flow constantly via proxysql.

Does ProxySQL supports returning parameter value via procedure body?
Does it take any setup to reach this?

here is how it looks when running from console:

  1. it always ends with Lost connection.
  2. some times it will never get result set back.

MySQL [aws]> call decrypt.test_2('hello');
ERROR 2006 (HY000): MySQL server has gone away
No connection. Trying to reconnect...
Connection id: 28
Current database: aws

+--------+
| i_name |
+--------+
| hello |
+--------+
1 row in set (0.01 sec)

ERROR 2013 (HY000): Lost connection to MySQL server during query
MySQL [aws]> call decrypt.test_2('hello');
ERROR 2006 (HY000): MySQL server has gone away
No connection. Trying to reconnect...
Connection id: 29
Current database: aws

ERROR 2006 (HY000): MySQL server has gone away
No connection. Trying to reconnect...
Connection id: 30
Current database: aws

ERROR 2006 (HY000): MySQL server has gone away
MySQL [aws]> call decrypt.test_2('hello');
ERROR 2006 (HY000): MySQL server has gone away
No connection. Trying to reconnect...
Connection id: 31
Current database: aws

+--------+
| i_name |
+--------+
| hello |
+--------+
1 row in set (0.01 sec)
ERROR 2013 (HY000): Lost connection to MySQL server during query
MySQL [aws]> call decrypt.test_2('hello');
ERROR 2006 (HY000): MySQL server has gone away
No connection. Trying to reconnect...
Connection id: 32
Current database: aws

@odederner1
Copy link
Author

odederner1 commented May 15, 2019 via email

@renecannao
Copy link
Contributor

Closing this one, and following on #2059 that has a clear reproducible test case

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants