[root@muban tools]# yum
Segmentation fault (core dumped)
Mysql 相关问题
问题1
问题现象
[root@db01 KnightData]# mysql -root -p -S /data/3306/mysql.sock
Enter password:
mysql>
mysql> show databases;
Ignoring query to other database
mysql> show databases;
Ignoring query to other database
mysql> create database test01;
Ignoring query to other database
mysql> quit
Bye
解决办法
[root@db01 KnightData]# mysql -uroot -p -S /data/3306/mysql.sock
mysql> show databases;
+——————————+
| Database |
+——————————+
| information_schema |
| mysql |
| performance_schema |
| test |
+——————————+
4 rows in set (0.03 sec)
mysql>
#如果你发现服务器上,被攻击,有一个矿机病毒,1.杀死进程 ,发现这个进程杀不死2.检查那个定时任务 ,杀死了定时任务3. kill -9 强制杀死 进程4. find / -name aqweqwe*5. rm -rf aqweqwe*
