有的时候工作需要之类的,需要多个mysql数据库,而默认开启的服务为c盘windows里的my.ini 1.设置好要用的my.ini2.关闭当前的mysql数据库服务3.将my.ini拷贝到C:\WINDOWS 下面上代码
cd MySQL5.
【mysql】 【windows】 【数据库】 【web】 【static】 【Blog】 点击查看原文>
首先安装LNMP环境,要求PHP-5.3以上版本.
参考:http://isadba.com/?p=82 或者参考 http://isadba.com/?p=572
然后下载Anemometer
git clone https://github.com/box/Anemometer.git anemometer
配置LNMP将下载下来的anemometer部署到LAMP上面,可以通过web打开页面,会提示你没有配置网站.
mysql -uroot -p mysql -uroot -p
安装percona的toolkit工具
yum install
http://www.percona.com/downloads/percona-release/redhat/0.1-3/percona-release-0.1-3.noarch.rpm
yum install percona-toolkit -y
修改配置文件
cd /var/www/anemometer/conf/
cp sample.config.inc.php config.inc.php
修改35-40行的数据库配置,连接到anemometer的数据库,当然,你数据库也需要授权.
…
[获取更多]
HTTP Status 500 - Request processing failed; nested exception is
org.springframework.jdbc.BadSqlGrammarException:type Exception
reportmessage Request processing failed; nested exception is
org.
【java】 【mysql】 【Apache】 【web】 【Processing】 【request】 【Framework】 …