Monthly Archives: 三月 2014

linux centos 安装 mysql-5.6.17

wget http://dev.mysql.com/get/Downloads/MySQL-5.6/mysql-5.6.17-linux-glibc2.5-x86_64.tar.gz tar xvf mysql-5.6.17-linux-glibc2.5-x86_64.tar.gz mv mysql-5.6.17-linux-glibc2.5-x86_64 /usr/local/mysql /usr/sbin/groupadd mysql /usr/sbin/useradd -g mysql mysql mkdir -p /var/mysql/data yum install libaio… Continue reading »

jQuey ajax 笔记

浏览器端 <script type=”text/javascript”> $(‘#submit’).click(function(){ $email = $(‘#retake_psd_email’).val(); $url = “http://jsb.php-php.com/user/get_user_id?email=”+$email+”&jsoncallback=?”; $.getJSON( $url, function(data){ if ( data.error == 1 ) alert_error(… Continue reading »