Question

help, my website allows closed cannot hold 2 users, error establishing a database connection, my website is down lost all users, help.

I am running ubuntu 16.04. with lamp 1 click install. I made before a month a good. It was working perfectly. But now if even I test my website page speed by any page speed tools I get the error. error establishing a database connection, really it is a problem. I did not find a solution to it. The problem it was working fine. I found error by utf firewall , I cannot remember the name but I disable it. I have many errors that cannot disappear.

[Warning] Changed limits: max_open_files: 1024 (requested 5000)

 [Warning] Changed limits: table_open_cache: 431 (requested 2000)

[Warning] TIMESTAMP with implicit DEFAULT value is deprecated. Please use --explicit_defaults_for_timestamp server option (see documentation for more details).

[ERROR] InnoDB: mmap(137428992 bytes) failed; errno 12
 [ERROR] InnoDB: Cannot allocate memory for the buffer pool
 [ERROR] InnoDB: Plugin initialization aborted with error Generic error
 [ERROR] Plugin 'InnoDB' init function returned error.
 [ERROR] Plugin 'InnoDB' registration as a STORAGE ENGINE failed.
 [ERROR] Failed to initialize plugins.
[ERROR] Aborting

Please help. If you face this problem please help:


Submit an answer

This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

Sign In or Sign Up to Answer

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Want to learn more? Join the DigitalOcean Community!

Join our DigitalOcean community of over a million developers for free! Get help and share knowledge in Q&A, subscribe to topics of interest, and get courses and tools that will help you grow as a developer and scale your project or business.

@hansen you mean I have to install lemp manually.

@hansen Thank you, but really a problem. Look, In the 5$ droplet. when I get error establishing database connection. and after 10 second it works fine. But when I upgrade to 10$ I when I get this error. It cannot be changed until I make restart mysql. … Thank you for your solution. could you please help me. just by writing 1 paragraph. I have a wordpress website. working on lamp droplet. You mean. I move the folders to my computer then from my computer to the new lemp droplet. then it works ok. please advice.

@hansen These are the difault configration just install new droplet and see by yourself. This problem. If 5 users open my website. I get error establishing database.