让其他主机可以连接mysql的命令
在安装mysql的机器上运行:
1、d:\mysql\bin\>mysql -h localhost -u root
//这样应该可以进入MySQL服务器
2、mysql>GRANT ALL PRIVILEGES ON *.* TO 'root'@'%'WITH GRANT OPTION
//赋予任何主机访问数据的权限
3、mysql>FLUSH PRIVILEGES
//修改生效
4、mysql>EXIT
php模块下载网站
http://pecl.php.net/
安装mmseg中文分词
./configure --prefix=/usr/local/mmseg
可能会报错
automake
安装coreseek命令
./builtconf.sh
./configure --prefix=/usr/local/coreseek --without-unixodbc --with-mmseg --with-mmseg-includes=/usr/local/mmseg/include/mmseg/ --with-mmseg-libs=/usr/local/mmseg/lib/ --with-mysql
sphinx扩展安装命令
cd /lnmp/coreseek-3.2.14/csft-3.2.14/api/libsphinxclient
./configure
make && make install
cd /lnmp/sphinx1.3.0
/usr/local/php/bin/phpize
./configure --with-php-config=/usr/local/php/bin/php-config --with-sphinx
在安装mysql的机器上运行:
1、d:\mysql\bin\>mysql -h localhost -u root
//这样应该可以进入MySQL服务器
2、mysql>GRANT ALL PRIVILEGES ON *.* TO 'root'@'%'WITH GRANT OPTION
//赋予任何主机访问数据的权限
3、mysql>FLUSH PRIVILEGES
//修改生效
4、mysql>EXIT
php模块下载网站
http://pecl.php.net/
安装mmseg中文分词
./configure --prefix=/usr/local/mmseg
可能会报错
automake
安装coreseek命令
./builtconf.sh
./configure --prefix=/usr/local/coreseek --without-unixodbc --with-mmseg --with-mmseg-includes=/usr/local/mmseg/include/mmseg/ --with-mmseg-libs=/usr/local/mmseg/lib/ --with-mysql
sphinx扩展安装命令
cd /lnmp/coreseek-3.2.14/csft-3.2.14/api/libsphinxclient
./configure
make && make install
cd /lnmp/sphinx1.3.0
/usr/local/php/bin/phpize
./configure --with-php-config=/usr/local/php/bin/php-config --with-sphinx