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

Can't create more than max_prepared_stmt_count statements (current value: 16382) #231

Open
andrelip opened this issue Aug 28, 2018 · 2 comments

Comments

@andrelip
Copy link

andrelip commented Aug 28, 2018

I'm getting this error an production and I need to restart the container everytime to make it work.
(1461): Can't create more than max_prepared_stmt_count statements (current value: 16382)
Everytime I do a simple query it increases by 1 even if it is the same query. The number never drops. Any clue?

iex(4)> Arvore.Repo.get(Arvore.User, 190)
➜  ~ mysql ##MYDATA## -e "show global status like '%prepared%'";
mysql: [Warning] Using a password on the command line interface can be insecure.
+---------------------+-------+
| Variable_name       | Value |
+---------------------+-------+
| Prepared_stmt_count | 175   |
+---------------------+-------+
@slientgoat
Copy link

hi @andrelip! I meet the problem too.Are you resolve?

@nulian
Copy link

nulian commented Oct 16, 2018

Is the same as #182

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

3 participants