MySQL Client

disoft

Verified User
Joined
Jun 4, 2003
Messages
28
Location
UK
Hi,

How does DirectAdmin link to the MySQL client?

Upgrades to the MySQL server (using the update.mysql.sh script) seem to go okay, but PHP's mysql_get_client_info() is still reporting 3.23.49.

I've installed a later version of MySQL client via FreeBSD (I'm on 4.10) ports, but I think I need to set up some symbolic links somewhere because DA must use it from a non-standard location. Can anyone tell me which ones?

Or should I not be using ports to upgrade MySQL client?
 
Hi,

Thanks for that, but I couldn't see where you meant in the post you refer to (sorry if I'm being dense!).

If I run the client in the shell, the version is correct, but if I try to access the client via PHP with mysql_get_client_info() it's not correct. This prevents me for installing some software that's dependant on version 4 of MySQL client.

I'm figuring it's just the MySQL->Apache module that's wrong, not the entire client.
 
Right, it's the PHP build that's wrong. Cured it by specifying:

Code:
 --with-mysql=/usr/local/mysql \

in configure.php, then doing a './build clean' and './build all' with custom Apache.
 
Back
Top