摘要:
解决方案由于我本机是UBUNTU系统,所以直接通过apt-get进行安装。sudo apt-get install curl libcurl3 libcurl3-dev php5-curl安装大概下载23个文件,很快安装好。重新启动apachesudo /etc/init.d/apache2 restart再安装phppin,故障解除。 阅读全文
摘要:
mysql> use dbname;mysql> show tables;ERROR 1018 (HY000): Can't read dir of './dbname/' (errno: 13)解决方案To fix this problem you need to set correct permission on /var/lib/mysql/dbname/ directory. Use the command as follows:cd /var/lib/mysql/ls -lchown mysql:mysql dbname/ -RReplace db 阅读全文
摘要:
1、查看mysql的进程lsof -u mysql2、edit the file in /etc/security/limits.conf and add these two mysql lines in at the bottom#@student - maxlogins 4mysql soft nofile 4096mysql hard nofile 8192# End of file3、Once this is set you need to make some changes in the mysql file as wel... 阅读全文