Hi,
I have problems with mongrel not responding after a long time of no traffic. I heard it has to do with the mysql adapter. I should use the native version. Does this only work if the mysql server is installed on the same machine? I installed the libmysqlclient and tried to install the mysql gem but it does not work :
ruby extconf.rb install mysql --include-dependencies checking for mysql_query() in -lmysqlclient... no checking for main() in -lm... yes checking for mysql_query() in -lmysqlclient... no checking for main() in -lz... yes checking for mysql_query() in -lmysqlclient... no checking for main() in -lsocket... no checking for mysql_query() in -lmysqlclient... no checking for main() in -lnsl... yes checking for mysql_query() in -lmysqlclient... no
I found out that a configuration is missing:
gem install mysql -- --with-mysql-config=/usr/local/mysql/bin/ mysql_config
I don't have suh a configuration - it seems to indicate that I have to have the mysql server running on that machine. Thta is not possible for me.
Thanx, Stefan