2011年8月22日
摘要: 转载自:http://blog.sina.com.cn/s/blog_52073c0b0100jme8.html如果pdo在linux下出现exception 'PDOException' with message 'could not find driver'则问题是php编译时少加--with-pdo-mysql=/usr/local/mysql#wgethttp://pecl.php.net/get/PDO_MYSQL-1.0.2.tgz#tar xzvf PDO_MYSQL-1.0.2.tgz#cd PDO_MYSQL-1.0.2#/usr/local/ 阅读全文
posted @ 2011-08-22 16:09 DavidYanXW 阅读(2985) 评论(0) 推荐(0)
摘要: 转载自:http://hi.baidu.com/zvjq/blog/item/9cf74a9767f8d55fd0135ef2.html添加扩展的基本步骤:1、进入php源代码目录:# cd /usr/ChenShao/php-5.3.1/2、再进入要添加的mysql扩展源码目录:# cd ext/mysql/2、调用已经编译好的php里面的phpize:# /usr/local/php5/bin/phpize3、然后configure:# ./configure --with-php-config=/usr/local/php5/bin/php-config --with-mysql=/us 阅读全文
posted @ 2011-08-22 16:07 DavidYanXW 阅读(676) 评论(0) 推荐(0)
摘要: 转载自:http://www.examda.com/linux/fudao/20081016/095626656.html mysql是linux平台下最流行的数据库系统,今天介绍的是mysql的安装及简单的操作方法! groupadd mysql //建立mysql用户组 useradd -g mysql mysql //建立mysql帐户 tar -zxvf mysql-x.x.xx.tar.gz //解压缩mysql cd mysql-5.0.45 //进入解压好的mysql目录 ./configure –prefix=/usr/local/mysql –with-chars... 阅读全文
posted @ 2011-08-22 15:37 DavidYanXW 阅读(121) 评论(0) 推荐(0)