mysql性能工具

tuning-primer.sh

wget http://www.day32.com/MySQL/tuning-primer.sh

[root@localhost ~]# sh  tuning-primer.sh 

Using login values from ~/.my.cnf
- INITIAL LOGIN ATTEMPT FAILED -
Testing for stored webmin passwords:
 None Found
Could not auto detect login info!
Found Sockets: /var/lib/mysql/mysql.sock
Using: /var/lib/mysql/mysql.sock
Would you like to provide a different socket?: [y/N] n
Do you have your login handy ? [y/N] : n
Please create a valid login to MySQL
Or, set correct values for  'user=' and 'password=' in ~/.my.cnf
 
Would you like me to create a ~/.my.cnf file for you? [y/N] : y

[root@localhost ~]# vi .my.cnf 

[client]
user=root
password=rootpw
socket=/var/lib/mysql/mysql.sock

wget http://hackmysql.com/scripts/mysqlreport-3.5.zip
mysqlreport --user root -p 123




你可能感兴趣的:(性能,数据库,mysql,工具,休闲)