Re: Today's server problems
Posted: 22 Dec 2023 10:03
Maybe your hammer is wireless..
We welcome retro users & hardware gurus alike! Come and join the party :)
https://www.exxosforum.co.uk/forum/
Maybe your hammer is wireless..
Thanks, :merryxmas:supaduper wrote: 22 Dec 2023 06:46 Thanks for all the hard work you do keeping this site going dude, it really is appreciated, and Merry Chrismas fella 8-)
Code: Select all
Database changed
mysql> DROP DATABASE wiki;
Query OK, 0 rows affected (17 min 24.84 sec)
and yet, when trying some wiki pages out, its maxing out the CPU and timing out now.. It runs fine on my test server and never had these problems last week :roll:I checked the node's RAID and drives and everything looks good. The RAID array is in optimal status, all drives are healthy, I/O usage on the server is very low.
Code: Select all
mysqldump -u root -p redacted > wiki7b.sqlCode: Select all
mysqldump -u root -p redacted > wiki7b.sqlI need a few beers after the end of each day!rmahlert wrote: 23 Dec 2023 00:51 I'd be having a few beers after all that.. Glad to see things are up again!
Ouch :( Maybe do a crowd funding thing to get the cash to recover it all ? I can't even remember what all the sites were now.Off topic. 2 quotes to recover the AUN partition.
First - Minimum of $700. Estimates $1200.
Second - Minimum $250 to a max of $2800!
Same here on the beers!exxos wrote: 23 Dec 2023 11:25I need a few beers after the end of each day!rmahlert wrote: 23 Dec 2023 00:51 I'd be having a few beers after all that.. Glad to see things are up again!
Ouch :( Maybe do a crowd funding thing to get the cash to recover it all ? I can't even remember what all the sites were now.Off topic. 2 quotes to recover the AUN partition.
First - Minimum of $700. Estimates $1200.
Second - Minimum $250 to a max of $2800!
It's because this is the MySQL "Server" level dump command and not the individual MySQL DB Instance / Schema dump command. Because you dumped another entire server completely and then imported, you overwrote the whole MySQL "Server" with all the details (schemas, users etc) of the other MySQL "Server" (the test one). MySQL operates by having all it's system users in it's own DB schema named "mysql", so when you backed up the other test server, you took a copy of that too and used it to overwrite the important "mysql" DB.exxos wrote: 22 Dec 2023 20:22
So after restoring that file instead, the user database was no longer trashed!
So the question is why does this not work as intended ?! Have I completely misunderstood how this function works or something ?????
Code: Select all
mysqldump -u root -p redacted > wiki7b.sql
:dizzy:
Code: Select all
mysqldump [options] db_name [tbl_name ...]
mysqldump [options] --databases db_name ...
mysqldump [options] --all-databases