`
文章列表
转载原始出处http://hxl2009.blog.51cto.com/779549/664187 1. 调用顺序 (1)  RedHat系统 执行顺序为:/etc/profile -> (~/.bash_profile | ~/.bash_login | ~/.profile) -> ~/.bashrc -> /etc/bashrc -> ~/.bash_logout
我的Mysql是用RPM方式安装的,PHP5.5是用源码编译安装的。查看phpinfo()后,发现没有pdo_mysql扩展。 进去到php的源码包的ext中[root@linux php]# cd /usr/local/src/php-5.5.18/ext/pdo_mysql[root@linux pdo_mysql]# /opt/php/bin/phpize(phpize 命令是用来准备 PHP 外挂模块的编译环境的)Configuring for:PHP Api Version: 20041225Zend Module Api No: 20060613Zend Extension Ap ...
用源码编译安装php,出现了以下的错误:configure: error: wrong mysql library version or lib not found. Check config.log for more information   解决办法:(安装mysql相应的share包,具体根据mysql版本来,我的版本是5.6.20的) rpm -ivh MySQL-shared-5.6.20-1.el6.x86_64.rpm   安装完这个包后,在继续编译php,即可通过。
最近在centos6.4下按照说明install源码编译安装pgadmin后,报如下错误: 1../pgadmin3: error while loading shared libraries: libwx_gtk2u_stc-2.8.so.0: cannot open shared object file: No such file or directory   2../pgadmin3: error while loading shared libraries: libpq.so.5: cannot open shared object file: No such file or ...
  MySQL远程访问权限,允许远程连接的开启       1、登陆mysql数据库          mysql -u root -p      查看user表  www.2cto.com     mysql> use mysql;   Database changed   mysql> select host,user,password from user;   +--------------+------+-------------------------------------------+   | host         | u ...

创建一个MYSQL用户

 
创建一个MYSQL用户 C:>mysql -uroot -pEnter password: ******Welcome to the MySQL monitor. Commands end with ; or g.Your MySQL connection id is 16 to server version: 5.0.18-nt Type 'help;' or 'h' for help. Type 'c' to clear the buffer. mysql> CREATE USER yanjz IDENTIFIED BY '123';Query OK, 0 rows af ...
CentOS 打开mysql 3306端口   2012-09-18 15:12:40|  分类: linux |举报 |字号 订阅   在CentOS系统中防火墙默认是阻止3306端口的,我们要是想访问mysql数据库,我们需要这个端口,命令如下: 1 /sbin/iptables -I INPUT -p tcp --dport 3306 -j ACCEPT 我们需要保存我们的操作,命令如下:
CentOS 配置防火墙操作实例(启、停、开、闭端口):   注:防火墙的基本操作命令: 查询防火墙状态: [root@localhost ~]# service   iptables status<回车>   停止防火墙: [root@localhost ~]# service   iptables stop <回车>   启动防 ...

centos彻底删除mysql

    查看是否还有mysql软件:有的话继续删除 rpm -qa|grep mysql yum remove mysql mysql-server mysql-libs compat-mysql51 rm -rf /var/lib/mysql rm /etc/my.cnf
  转载:http://blog.csdn.net/leandzgc/article/details/12853399 问题描述 使用SDK Manager更新时出现问题Failed to fetch URL https://dl-ssl.google.com/android/repository/repository-6.xml, reason: Connection to https://dl-ssl.google.com refusedFailed to fetch URL http://dl-ssl.google.com/android/repository/addons_lis ...
这两天不知道什么原因,用eclipse设计Android应用程序界面时候,改动一个属性,例如改变高度为XXdp时,电脑几乎被卡死了,后来经过以下两个步骤后,电脑恢复正常了,可以正常开发Android程序了。 一,打开eclipse windows->preference->android->Usage Status,去掉Send usage statistics to google前面的勾。   二,把Project Explore 里面报错的项目和不经常用到的项目工程关机关闭(因为学习的原因,自己的Eclipse导入了很多例子程序用于学习),有些还报错,在项目上点击右 ...
快速下载ADT 你不用登陆任何下载站,直接利用官方的下载地址就可以迅速下载 例如,我们要下载ADT-22.6.2,那么,就在浏览器地址栏输入 http://dl.google.com/android/ADT-22.6.2.zip 有什么新版本你就可以用这个 http://dl.google.com/android/ADT-xx.x.x.zip来进行下载了 这是google的官方网站下载地址,所以你完全不用担心病毒之类的  
今天在网上百度看了很多文章,想要去掉index.php入口文件有好多方法,自己也照着在网站到根目录下新建了一个.htaccess文件,内容如下: RewriteEngine On RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteCond $1 !^(index\. ...
今天在工作空间导入SVN Checkout的Android项目时,Eclipse报错:Invalid Project Description   解决方法:      把项目拷贝到别的目录中,不要放在工作空间目录里,然后再导入就成功。
今天一直在网上看如何下载android源码,结果按网上说的去做,要么是Android源码网站访问不了,出现fatal:Unable to look up android.git.kernel.org(port 9418),网上是说网址被墙了,要么是Ubuntu下repo文件有问题,现在终于自己找到Android源码的网址,如下: https://android.googlesource.com/   1、在浏览器输入https://android.googlesource.com  后,如下图所示  2、网上写得很清楚,要先安装git,网页上有链接,直接下载安装即可,而且都写清楚用g ...
Global site tag (gtag.js) - Google Analytics