????5. RPM???????
????a. ????????????grep??-i??????????????Сд
????[root@localhost JavaEE]#rpm -qa|grep -i mysql
????mysql-libs-5.1.61-4.el6.x86_64
??????????????????????????ж????????????????????ж????????--nodeps??????????????????
????[root@localhost JavaEE]#rpm -e mysql-libs-5.1.61-4.el6.x86_64 --nodeps
????2. ???MySQL??????????????????л???root?????
????[root@localhost JavaEE]#rpm -ivh MySQL-server-5.5.29-2.el6.x86_64.rpm
?????????????????????Linux????????mysql?飬???????mysql??????mysql???????id???????
????[root@localhost JavaEE]#id mysql
????uid=496(mysql)gid=493(mysql) groups=493(mysql)
????MySQL??????????????????????????????????????????mysqld???????????????
????[root@localhost JavaEE]#service mysql start
????Starting MySQL.. SUCCESS!
???????????????????????MySQL????????????
????[root@localhost JavaEE]#netstat -anp|grep 3306
????tcp 00 0.0.0.0:33060.0.0.0:* LISTEN 34693/mysqld
????c. ???MySQL???????????
????[root@localhost JavaEE]#rpm -ivh MySQL-client-5.5.29-2.el6.x86_64.rpm
???????????????????????mysql????????????mysqld????????????
????[root@localhost JavaEE]#mysql
????Welcome to the MySQLmonitor. Commands end with ; or g.
????Your MySQL connection idis 1
????Server version: 5.5.29MySQL Community Server (GPL)
????Copyright (c) 2000?? 2012??Oracle and/or its affiliates. All rights reserved.
????Oracle is a registered trademarkof Oracle Corporation and/or its affiliates. Other names may be trademarks oftheir respective owners.
????Type 'help;' or 'h' forhelp. Type 'c' to clear the current input statement.
????mysql>
????d. RPM????????????
????Directory
????Contents of Directory
????/usr/bin
????Client programs and scripts
????/usr/sbin
????Themysqldserver
????/var/lib/mysql
????Log files?? databases
????/usr/share/info
????Manual in Info format
????/usr/share/man
????Unix manual pages
????/usr/include/mysql
????Include (header) files
????/usr/lib/mysql
????Libraries
????/usr/share/mysql
????Miscellaneous support files?? including error messages?? character set files?? sample configuration files?? SQL for database installation
????/usr/share/sql-bench
????Benchmarks