I am receiving an advanced PHP programming course in a mini-company that has two servers:
- MAIN: contains the main programs
- DEVELOPMENT: here the systems are improved and then the main one is uploaded
There are five computers and five people who work and apart from the administrator of the phpmyadmin and, if applicable, the servers, it controls all the phpmyadmin access of the users that there are, to the main database.
The following happens, there is a system that was saving user records and a lot of data from them, they went around 80000 records, the system was updated about 1 month ago and it continued to work fine, 3 days ago, the table started to give problems, when you wanted to go to the last record I took you out of PHPmyAdmin, here it was thought that they were privileges, but all had full access, even by PHPmyAdmin you could insert data but not see them, the system started to throw errors of MySQL, number 2013
I was reading and that happens
-
because the response time runs out
-
access problems or firewall.
All PCs have access, the firewall is disabled, the waiting time has been changed to a larger one.
There is another system that makes queries of even 60 fields, this system only has 17.
The other table closes alone more or less in half or a quarter of the registers, that is to say it reaches 30,000 and leaves.
Apparently the database was corrupted, but only the administrator that I told them has access, could he have done something, or in what way could this database have been corrupted.
I say this because I also had time doing SQL INYECTION tests on that system, because the update discovered some failures, it also showed interest on their part to show that the creator of that system did not have sufficient capacity and knowledge.
It should be noted that the day we realized that the system was failing, that same day they made a backup to all systems which was not programmed
• I would like to know how the table could be repaired
• It is possible to access the Xamp folder, mysql and copy everything
• How to know if it was an SQL attack
I know that the question can enter into opinions, but I would like to know a process that more or less could apply.