🔔 🔔 🔔 Duyuru: 24. Yılımıza özel indirimler sizleri bekliyor ! Kampanya Kodu : TDATA2024 | Detaylı bilgi için tıklayınız.
Sometimes it happens that your database get corrupted due to many reason like it does not get restored properly or server get rebooted while updating database etc…. You can repair the database through either cpanel or SSH.
Go to cpanel -> mysql databases -> select database which you required to repair.
Login to server with root access
check your mysql database
/usr/bin/mysqlcheck –auto-repair –check –optimize –all-databases
Stop mysql using following command
Run following command to check all teh tables in the database
Run following command to repair all teh tables in the database
/usr/bin/myisamchk -r /var/lib/mysql/databasename/*.MYI
Then recheck again using following command
Restrart MySql service using following command
The following are some of the key options that you can use along with mysqlcheck.
-A, –all-databases Consider all the databases -a, –analyze Analyze tables -1, –all-in-1 Use one query per database with tables listed in a comma separated way –auto-repair Repair the table automatically it if is corrupted -c, –check Check table errors -C, –check-only-changed Check tables that are changed since last check -g, –check-upgrade Check for version dependent changes in the tables -B, –databases Check more than one databases -F, –fast Check tables that are not closed properly –fix-db-names Fix DB names –fix-table-names Fix table names -f, –force Continue even when there is an error -e, –extended Perform extended check on a table. This will take a long time to execute. -m, –medium-check Faster than extended check option, but does most checks -o, –optimize Optimize tables -q, –quick Faster than medium check option -r, –repair Fix the table corruption
CPanel is a fully featured web-based control panel that allows you to manage your domain through a web interface. cPanel gives you complete control over a vast amount of functions, streamlining...
CloudFlare is a performance and security service. With 14 points of presence around the world, a website on CloudFlare typically loads twice as fast, uses 65% less server resources, saves 60% of...
What is cron? It is the scheduling daemon of the Linux operating system Cron jobs allow you to automate repetitive tasks on the server that hosts your web site. This is a powerful tool that allows...
Anonymous FTP allows you and others that you give permission to, to access your “public_ftp” folder. There are two options available: 1. ftp://ftp.yourdomain.com –This allows...
If cpanel cannot be accessed using IP/whm and IP/cpanel, but can be accessed using IP:2086 and IP:2082, then here goes the solution for the same. The reason for this issue due to missing some...
Powered by WHMCompleteSolution