阅读:254
评论:0
[client] port = 3306 #端口号 socket = /tmp/mysql.sock #socket所在路径 [mysqld] !include /home/mysql/etc/mysqld.cnf #包含的配置文件 ,把用户名,密码文件单独存放 port = 3306 socket = /tmp/mysql.sock pid-file = /home/mysql/var/mysql.pid#进程pid basedir = /home/mysql/#mysql的安装路径 datadir = /home/mysql/var/ #数据文件所在路径 tmpdir = /home/mysql/tmp/#临时文件保存路径 slave-...
阅读:213
评论:0
阅读:361
评论:0
class jsonToXml { public static function convert($data, DOMDocument $dom = null, DOMElement $xml = null) { if(!$dom) { $dom = new DOMDocument('1.0', 'UTF-8'); $dom->formatOutput = true; } if(!$xml) { $xml = $dom->createElement('xml'); $xml->setAttribute('root', 'http...
阅读:909
评论:1
yum install ppp cd /usr/local/src wget http://poptop.sourceforge.net/yum/stable/packages/pptpd-1.4.0-1.rhel5.x86_64.rpm rpm -Uhv pptpd-1.4.0-1.rhel5.x86_64.rpm
yum install ppp cd /usr/local/src wget http://poptop.sourceforge.net/yum/stable/packages/pptpd-1.4.0-1.el6.x86_64.rpm rpm -Uhv pptpd-1.4.0-1.el6.x86_64.rpm
apt-get install ...
阅读:2160
评论:0
阅读:170
评论:0
function f(a,b,c){ console.log(a,b,c);} f.apply(null,{0:123,1:456,2:789,length:2});//123 456 undefined ,因为 length 属性值为2,值只传入了 2 个参数 f.apply(null,{10:123,11:456,12:789,length:3});// undefined undefined undefined , 因为参数对象不存在以 0、1、2 为...
阅读:231
评论:0
阅读:161
评论:0
阅读:650
评论:0