它使用的是mysql2,我以前没有用过这个数据库。apt-get install libmysql-ruby libmysqlclient-devCan't connect to local MySQLserver through socket '/var/run/mysqld/mysqld.sock' (2)
我需要启动MySQL服务器吗?
( $error ) { print color 'reset' ;} sub lampInstall logMsg("Installing apache2, php, and mysqldb"); my $cmdOutput = `./ubuntu-lamp-install.sh`;}
lampInstall();
该系统需要php5.2和mysql5.1。我从源代码中安装了php和mysql。我在配置php时遇到了以下问题: --with-apxs2=/usr/local/apache2/bin/apxs \ --with-curl \checking for specified location of the MySQL UNIX sock