aptitude search ping
use information_schema;查询所有数据的大小:select concat(round(sum(data_length/1024/1024),2),'MB') as data from tables;查看指定数据库的大小:select concat(round(sum(data_length/1024/1024),2),'MB') as data from tables wher
show count(1) from TABLENAME;
cd /etc/apache2/site-enable/rep -rl 'test.com' ./*意为查询apache虚拟主机中是否包含test.com的域名
mysql> select * from information_schema.processlist as p where p.command = 'Binlog Dump'; 或mysql> show slave hosts;(此方法需要在从服务启动时指定--report-host=HOSTNAME选项,此处HOSTNAME为任意名称。)
解决:用win32diskp_w_picpathr代替ultra iso刻录镜像,安装系统时第一步选择“English”,第二部选择“简体中文”原因:可能是语言支持不完善
解决:进入raid设置界面,删除或重建raid。 原因:可能是以前存在多块硬盘时建立过raid,如今只剩一块则无法识别。
解决:show create table TABLENAME;得知engine类型为memory; vim /etc/mysql/my.cf在[mysqld]下添加/修改两行(如果还不行的话可以增大数值): tmp_table_size = 256M max_heap_table_s
Copyright © 2005-2025 51CTO.COM 版权所有 京ICP证060544号