Need help with mysql and database

Hi ,

first I am green at this skills.

so I don't know how to do and what next to do

I have two websites in my lindoe.

1GB RAM

1CPU Core

24GB SSD Storage

2TB Transfer

40Gbit Network In

125Mbit Network Out

for two normal websites, i think the space is enough.

However, I often got a problem, every evening here the websites mysql will stop running automatically.

the websites are working fine, but I could not login in the wp-admin, that page will shows the " error establshing a database connection, the username and passward information in your wp-config.php file is incorrect" something like that.

but I doule check those information, it is correct.

Help, pls guide me how to do next? what should I do?

2 Replies

What webserver are you running? If it's Apache search the forums for MaxClients the default settings will allow Apache to chew up memory which will cause Linux to kill off processes i.e. MySQL.

thanks for your reply

i think it is apache allowoverride problem

i change it to allowoverried all, and it don't have any problems now

thanks

Reply

Please enter an answer
Tips:

You can mention users to notify them: @username

You can use Markdown to format your question. For more examples see the Markdown Cheatsheet.

> I’m a blockquote.

I’m a blockquote.

[I'm a link] (https://www.google.com)

I'm a link

**I am bold** I am bold

*I am italicized* I am italicized

Community Code of Conduct