Technology Errors

checking for mysql_close in -lmysqlclient… no

I received the below error when attempting to compile PHP to use with Litespeed as an LSAPI module. The error was related to multiple versions of numerous MySQL RPM packages being installed. PHP Compile Error: checking for MySQL support… yes checking for specified location of the MySQL UNIX socket… no checking for MySQL UNIX socket…

Technology Errors

‘Can’t connect to local MySQL server through socket’ in Rails 2.2.2

Error in Rails 2.2.2 Status: 500 Internal Server Error Can’t connect to local MySQL server through socket ‘/opt/local/var/run/mysqld/mysqld.sock’ (2) Add the socket location to database.yml ruby production: adapter: mysql encoding: utf8 database: example_production username: root password: passwordie pool: 5 socket: ‘/var/lib/mysql/mysql.sock’ host: 127.0.0.1 Reference: database.yml in Ruby on Rails