It's been a weird thing when you install MySQL server especially the one that is 'enterprise' version is not working with your PHP. That is the problem that my friend and I facing today. Since PHP require php-mysql extension to connect to MySQL server but php-mysql is only work with mysql-server from the Repos (Redhat/Centos).
1) Remove default mysql-server/php-mysql
2) Install MySQL Enterprise
3) Dependencies conflict occur + headache + install php-mysql
shell> yum install php-mysql
Loaded plugins: rhnplugin, security
Setting up Install Process
Resolving Dependencies
--> Running transaction check
---> Package php-mysql.x86_64 0:5.1.6-27.el5 set to be updated
--> Processing Dependency: libmysqlclient.so.15(libmysqlclient_15)(64bit) for package: php-mysql--> Processing Dependency: libmysqlclient.so.15()(64bit) for package: php-mysql
--> Running transaction check
---> Package mysql.x86_64 0:5.0.77-4.el5_4.2 set to be updated
--> Processing Conflict: mysql conflicts MySQL
--> Finished Dependency Resolution
mysql-5.0.77-4.el5_4.2.x86_64 from rhel-x86_64-server-5 has depsolving problems
--> mysql conflicts with MySQL-server-advanced-gpl
Error: mysql conflicts with MySQL-server-advanced-gpl
You could try using --skip-broken to work around the problem
You could try running: package-cleanup --problems
package-cleanup --dupes
rpm -Va --nofiles --nodigest
Googling around really takes my time.. but fortunately found one that might help me from the error that I bold above. I assume after installing mysql-client-enterprise(not a real name) should have libmysqlclient that php-mysql looking for..but I'm totally wrong. The libmysqlclient reside in one of the file that I download from the mysql enterprise but in mysql-share-compat-enterprise (not really complete name)
http://bugs.mysql.com/bug.php?id=46057
1) Install mysql-server-enterprise
2) Install mysql-client-enterprise
3) Install mysql-share-compat-enterprise
That should save your time and your penny! :)
yatta~
1) Remove default mysql-server/php-mysql
2) Install MySQL Enterprise
3) Dependencies conflict occur + headache + install php-mysql
shell> yum install php-mysql
Loaded plugins: rhnplugin, security
Setting up Install Process
Resolving Dependencies
--> Running transaction check
---> Package php-mysql.x86_64 0:5.1.6-27.el5 set to be updated
--> Processing Dependency: libmysqlclient.so.15(libmysqlclient_15)(64bit) for package: php-mysql--> Processing Dependency: libmysqlclient.so.15()(64bit) for package: php-mysql
--> Running transaction check
---> Package mysql.x86_64 0:5.0.77-4.el5_4.2 set to be updated
--> Processing Conflict: mysql conflicts MySQL
--> Finished Dependency Resolution
mysql-5.0.77-4.el5_4.2.x86_64 from rhel-x86_64-server-5 has depsolving problems
--> mysql conflicts with MySQL-server-advanced-gpl
Error: mysql conflicts with MySQL-server-advanced-gpl
You could try using --skip-broken to work around the problem
You could try running: package-cleanup --problems
package-cleanup --dupes
rpm -Va --nofiles --nodigest
Googling around really takes my time.. but fortunately found one that might help me from the error that I bold above. I assume after installing mysql-client-enterprise(not a real name) should have libmysqlclient that php-mysql looking for..but I'm totally wrong. The libmysqlclient reside in one of the file that I download from the mysql enterprise but in mysql-share-compat-enterprise (not really complete name)
http://bugs.mysql.com/bug.php?id=46057
1) Install mysql-server-enterprise
2) Install mysql-client-enterprise
3) Install mysql-share-compat-enterprise
That should save your time and your penny! :)
yatta~
Comments
I have also facing the same problem.
Have you figure out the way that how to installed the MySQL Enterprise and connect with PHP?
Please let me know.
Thanks,
Monojit