ubuntu apache2 phpmyadmin的关闭

$cd /etc/apache2/conf.d
$sudo rm link phpmyadmin.conf -> ../../phpmyadmin/apache.conf
$sudo service apache2 restart


数据库备份

mysqldump -u root -p --database dbName > dbName.sql

数据库表顺坏修复
需要先停掉mysql进程

$sudo service mysql stop
$sudo myisamchk -r /var/lib/mysql/dbName/*.MYI

标签: ubuntu, mysql

添加新评论