??linux???а??MySQL
???????????? ???????[ 2014/2/10 11:34:44 ] ????????linux?? MySQL
????2?????????????????
????????????????'/root'??????????ll????ls????????????????????????linux??????'.'???????????????????????????????'ll -a'???????'.mysql_secret'?????vi?????????????????????cat ???????????
?????????????????
?????????????mysql??/etc/init.d/mysql start??????service mysql start????????
???????????mysql -u root -p??????????????????????????????????????linux???????????'mysql>'?????????????
?????2???????????? set password = password('abc');???£????????SET PASSWORD = PASSWORD('ABC');???????????? ??
????mysql> set password = password('abc');
???????????Query OK?? 0 rows affected (0.10 sec)??????????????????abc??
???????????exit/quit???MySQL
????3???????????????MySQL
???????????????????MySQL??????/usr/bin/mysql_secure_installation?? ????????????????????????????????????????????????????????????root?????????????????????????б????????n???????μ??·???????????????????????=Y????????????????
??????????????????????
????ж??MySQL
????1??rpm -e MySQL-server-5.6.11-2.el6.i686 MySQL-client-5.6.11-2.el6.i686
???????????????????????????????MySQL????????????????????MySQL??????????κε???????????????????????
?????????MySQL?????????
????2)????????MySQL???
????????Find????find / -name mysql
????????????????????????????????????????????????????е??????????????????????/var/lib/mysql????????/usr/lib/mysql??/usr/my.cnf??????????
rm -Rrf /var/lib/mysql
rm -Rrf /usr/lib/mysql
rm -rf /usr/my.cnf(????????????????????????????????????????????????)
??????????????????????????????????????????????????£????????????????????????????????????????????????????ж??MySQL???????????????????????????????????????????????????????????/var/lib/mysql??????????????????????????????????????????
??????
???·???
??????????????????
2023/3/23 14:23:39???д?ò??????????
2023/3/22 16:17:39????????????????????Щ??
2022/6/14 16:14:27??????????????????????????
2021/10/18 15:37:44???????????????
2021/9/17 15:19:29???·???????·
2021/9/14 15:42:25?????????????
2021/5/28 17:25:47??????APP??????????
2021/5/8 17:01:11