|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #15991 Undefined symbol "mysql_drop_db"
Submitted: 2002-03-11 04:09 UTC Modified: 2002-06-11 01:00 UTC
Avg. Score:4.5 ± 0.8
Reproduced:5 of 5 (100.0%)
Same Version:0 (0.0%)
Same OS:1 (20.0%)
From: kv at gki dot ru Assigned:
Status: No Feedback Package: MySQL related
PHP Version: 4.0CVS-2002-03-11 OS: FreeBSD 4.5
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
Block user comment
Status: Assign to:
Bug Type:
From: kv at gki dot ru
New email:
PHP Version: OS:


 [2002-03-11 04:09 UTC] kv at gki dot ru
Cannot load /usr/local/apache/libexec/ into server: /usr/local/apache/
libexec/ Undefined symbol "mysql_drop_db"                            
./apachectl start: httpd could not be started


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2002-03-11 05:34 UTC]
What is your configure line?
What is your version of libmysqlclient (if you're using an other client than the built-in)?
 [2002-03-11 06:04 UTC] kv at gki dot ru
mysql-4.0.1-alpha (

./configure --disable-cli --with-exec-dir=/usr/local/php/bin --with-mnogosearch=/usr/local/mnsh --enable-inline-optimization --with-freetype-dir=/usr/local --enable-trans-sid --enable-versioning --enable-ftp --with-xml --with-magic-quotes --enable-track-vars --enable-gd-native-ttf --with-png-dir=/usr/local --with-apxs=/usr/local/apache/bin/apxs --with-gd=/usr/local --with-jpeg-dir=/usr/local --with-gettext=/usr/local --with-bz2=/usr/local --with-zlib=/usr/local --with-mysql=/usr/local/mysql --enable-calendar --enable-safe-mode --enable-sysvsem --enable-sysvshm --with-config-file-path=/usr/local/php/ --with-exec-dir=/usr/local/php/bin --with-mod_charset --enable-bcmath
 [2002-03-11 09:34 UTC]
Do you happen to have some old mysql version in your system?
ie. you might have older libs somewhere in the libpath
which are found before the new ones.


 [2002-06-11 01:00 UTC] php-bugs at lists dot php dot net
No feedback was provided for this bug for over a month, so it is
being suspended automatically. If you are able to provide the
information that was originally requested, please do so and change
the status of the bug back to "Open".
 [2002-11-22 23:42 UTC] bratwiz at yahoo dot com
I have the same/similar problem when I try to compile 
against mysql-4.0.5. Apparently according to the mysql 
website, the 'mysql_drop_db' call has been deprecated in 
favor of issuing a plain "DROP DATABASE <foobar>" query 
instead. So presumably, altering the library to issue a 
mysql_query() instead of a simple_command() should do the 
trick. I'm going to patch my copy and see if it works.
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Thu Jul 25 00:01:30 2024 UTC