Bug #26306 php can't connect to database
Submitted: 13 Feb 2007 0:28 Modified: 13 Feb 2007 8:27
Reporter: C P Email Updates:
Status: Not a Bug Impact on me:
None 
Category:MySQL Server: Installing Severity:S2 (Serious)
Version:5.0.27-standard OS:HP/UX (hpux 11.11)
Assigned to: CPU Architecture:Any

[13 Feb 2007 0:28] C P
Description:
I installed mysql (downloaded a depot from www.mysql.com)but php can’t connect to database. When I start my apache there’s an error : 

“PHP Warning: PHP Startup: Unable to load dynamic library '/opt/hpws/apache/php/l 
ib/php/extensions/mysql.sl' - Can't open shared library: /opt/mysql/lib/mysql/lib 
mysqlclient.sl.10 in Unknown on line 0” 

I tried to look for lib/mysql/libmysqlclient.sl in my system but i can’t find it. The content of /usr/local/mysql/lib is: 

libdbug.a 
libmysql.imp 
libmysqlclient.a 
libmysqlclient_r.a 
libmystrings.a 
libmysys.a 
libz.a 

I also tried to install the MyODBC but still no sucess, the libmysqlclient.sl isn’t anywhere. 

I already serched but I can't find the answer for this problem.
can you help me?

apache version - Apache/2.0.54  HP-UX_Apache-based_Web_Server
php version -5.0.4 

How to repeat:
Installing the depot version of mysql 5.0.27
[13 Feb 2007 8:27] Hartmut Holzgraefe
We're sorry, but the bug system is not the appropriate forum for asking help on using MySQL products. Your problem is not the result of a bug.

Support on using our products is available both free in our forums at http://forums.mysql.com/ and for a reasonable fee direct from our skilled support engineers at http://www.mysql.com/support/

Thank you for your interest in MySQL.