Author Topic: MySQL: NOT AVAILABLE (Not installed)  (Read 6603 times)

Offline Mahalo

  • Newbie
  • *
  • Posts: 7
MySQL: NOT AVAILABLE (Not installed)
« on: March 24, 2009, 07:25:42 PM »
I have a server running MySQL, Virtualmin/Webmin and am trying to install Roundcube. When I run the installer I get an error:
MySQL: NOT AVAILABLE (Not installed)
(it also reports that PostgreSQL: not available or installed although it is)

What do I need to do here?

Thanks in advance!

Offline Mahalo

  • Newbie
  • *
  • Posts: 7
MySQL: NOT AVAILABLE (Not installed)
« Reply #1 on: March 25, 2009, 09:24:58 PM »
Wow... nobody...
That is a darn shame! I really like the look of Roundcube, but I'll just stick with usermin even though it is as ugly as day old road kill armadillo on alligator alley.

Offline Mahalo

  • Newbie
  • *
  • Posts: 7
MySQL: NOT AVAILABLE (Not installed)
« Reply #2 on: March 25, 2009, 09:33:56 PM »
Maybe with this info...

Debian Lenny
Virtualmin, Postfix. Dovecot

MySQL unix socket: /var/run/mysqld/mysqld.sock
DB fles: /var/lib/mysql
Listening address: 127.0.0.1:3306

Offline JohnDoh

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 2,850
MySQL: NOT AVAILABLE (Not installed)
« Reply #3 on: March 26, 2009, 05:26:08 AM »
do you have the php mysql module installed? you can make a phpinfo() page in the roundcube directory to check.
Roundcube Plugins: Contextmenu, SpamAssassin Prefs, and moreā€¦

Offline Mahalo

  • Newbie
  • *
  • Posts: 7
MySQL: NOT AVAILABLE (Not installed)
« Reply #4 on: March 29, 2009, 11:45:09 AM »
Quote from: JohnDoh;18055
do you have the php mysql module installed? you can make a phpinfo() page in the roundcube directory to check.


Thanks John,
Yep, sorry for the delayed reply, I have been away from working on my server...

I created the phpinfo() page as you suggested and I have:


mysql
MySQL Support   enabled
Active Persistent Links    0
Active Links    0
Client API version    5.0.51a
MYSQL_MODULE_TYPE    external
MYSQL_SOCKET    /var/run/mysqld/mysqld.sock
MYSQL_INCLUDE    -I/usr/include/mysql
MYSQL_LIBS    -L/usr/lib -lmysqlclient_r

Directive   Local Value   Master Value
mysql.allow_persistent   On   On
mysql.connect_timeout   60   60
mysql.default_host   no value   no value
mysql.default_password   no value   no value
mysql.default_port   no value   no value
mysql.default_socket   no value   no value
mysql.default_user   no value   no value
mysql.max_links   Unlimited   Unlimited
mysql.max_persistent   Unlimited   Unlimited
mysql.trace_mode   Off   Off

Offline Mahalo

  • Newbie
  • *
  • Posts: 7
MySQL: NOT AVAILABLE (Not installed)
« Reply #5 on: March 29, 2009, 05:38:18 PM »
I found what the problem was...
I had not properly defined the php version and configuration files in virtualmin.

Once I did that the rest followed along pretty clearly with the INSTALL file.

Thanks for the help! Hopefully someone who has the same issue will be able to figure this out easier.

Offline aps

  • Newbie
  • *
  • Posts: 1
MySQL: NOT AVAILABLE (Not installed)
« Reply #6 on: June 03, 2009, 07:38:24 PM »
Quote from: Mahalo;18101
I found what the problem was...
I had not properly defined the php version and configuration files in virtualmin.

Once I did that the rest followed along pretty clearly with the INSTALL file.

Thanks for the help! Hopefully someone who has the same issue will be able to figure this out easier.


Hi, I ran into similar issues, and I seem to have the same setup as you have. Would you mind showing what values you put into the boxes? My attempts seem to have been rather,... useless  :(