• Introducing WebPros Cloud - a fully managed infrastructure platform purpose-built to simplify the deployment of WebPros products !  WebPros Cloud enables you to easily deliver WebPros solutions — without the complexity of managing the infrastructure.
    Join the pilot program today!
  • Support for BIND DNS has been removed from Plesk for Windows due to security and maintenance risks.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS.

repair restart mysql

S

spidermycron

Guest
Hello,
i need your help please to know what commands i need to :
1. restart my server mysql data base ?

2. repair my server mysql data base ?

Thank you
 
1. Restarting mysql:

# /etc/init.d/mysqld restart
Stopping MySQL: [ OK ]
Starting MySQL: [ OK ]
2. What do you mean 'repair my server mysql data base'? If you mean mysql server - just reinstall corresponding rpm or deb package. If you mean repairing database that for repairing MyISAM mySQL Tables/Databases:

cd /var/lib/mysql/DBNAME

#Please note that we assume your mySQL data directory is /var/lib/mysql

myisamchk *.MYI


Repairing ISAM mySQL Tables/Databases:

cd /var/lib/mysql/DBNAME

#Please note that we assume your mySQL data directory is /var/lib/mysql

isamchk *.MYI
 
Back
Top