Hi -
I have a new Centos 4.6 server with the following.
Plesk - 8.3.0 cos4.build83071218.20
Mysql - 5.0.51 1.el4.art
mysqlclient14 - 4.1.22 2.el4.art
PHP - 5.2.5 4.el4.art
With this combination, phpinfo() would not even list mysql support initially, which I resolved by changing
extension_dir = /usr/lib/php4
to
extension_dir = /usr/lib/php/modules
in /etc/php.ini
Now the problem is, Plesk does not seem to detect MySql. When I try to install Drupal (using the Plesk Site Applications list), I get the following.
Database (mysql, version >= 3.0.0) (available: none, suitable: no)
So how can I make Plesk detect the MySql 5 server ?
Thanks,
/app
Plesk is not detecting Mysql 5
-
- Long Time Forum Regular
- Posts: 2813
- Joined: Sat Aug 20, 2005 9:30 am
- Location: The Netherlands
Do you have any PHP scripts running that use MySQL so you can confirm whether php-mysql is working? Have you tried checking the output phpinfo() to see whether MySQL is accessible (and what version). Plesk itself uses MySQL, so it seems MySQL itself is ok.
Lemonbit Internet Dedicated Server Management
Yes, phpinfo() does report both "mysql" and "mysqli" sections, with the "Client API Version" as "4.1.22".
The issue seems to be limited to Plesk detecting MySQL5 correctly. Like you said, both MySQL and PHP are working fine by themselves (and with each other). It is only Plesk that is having trouble detecting the installed MySQL 5 installation.
/app
The issue seems to be limited to Plesk detecting MySQL5 correctly. Like you said, both MySQL and PHP are working fine by themselves (and with each other). It is only Plesk that is having trouble detecting the installed MySQL 5 installation.
/app