mysqld keeps dying
Hi,
Current Configuration:
mysql v4.0.25
php v5.04
Windows XP Professional SP2, 1GB RAM, DUAL XEON
IIS 5.1
Today I had MySQL up and running and working good. After making a change in my php.ini file to reference the php_mysql.dll module MySQL will start but soon after it starts it is removed from the Windows process list.
The Service shows to be started but the mysqld process is not running and now the network port 3066 for MySQL is not listening.
I ran php-cgi.exe as a test against index.php file and the php_mysql.dll module that I enabled in php.ini is not found and is not located anywhere on my hardrive. I was looking in the PECL distribution for PHP and it there is not a php_mysql.dll but there is a php_pdo_mysql.dll file. What modules should be enabled for MySQL ?
Here's an extract of the modules in php.ini:
;Windows Extensions
;Note that ODBC support is built in, so no dll is needed for it.
;
;extension=php_bz2.dll
;extension=php_cpdf.dll
;extension=php_curl.dll
;extension=php_dba.dll
;extension=php_dbase.dll
;extension=php_dbx.dll
;extension=php_exif.dll
;extension=php_fdf.dll
;extension=php_filepro.dll
;extension=php_gd2.dll
;extension=php_gettext.dll
;extension=php_ifx.dll
;extension=php_iisfunc.dll
;extension=php_imap.dll
;extension=php_interbase.dll
;extension=php_java.dll
;extension=php_ldap.dll
;extension=php_mbstring.dll
;extension=php_mcrypt.dll
;extension=php_mhash.dll
;extension=php_mime_magic.dll
;extension=php_ming.dll
;extension=php_mssql.dll
;extension=php_msql.dll
extension=php_mysql.dll
;extension=php_oci8.dll
;extension=php_openssl.dll
;extension=php_oracle.dll
;extension=php_pdf.dll
;extension=php_pgsql.dll
;extension=php_shmop.dll
;extension=php_snmp.dll
;extension=php_sockets.dll
;extension=php_sybase_ct.dll
;extension=php_tidy.dll
;extension=php_w32api.dll
;extension=php_xmlrpc.dll
;extension=php_xsl.dll
;extension=php_yaz.dll
;extension=php_zip.dll
Ever since I made the first change in php.ini file to enable the module php_mysql.dll mysqld process keeps dying and Port 3066 for MySql is no longer listening.
If I go into winmysqladmin.exe in the MyODBC section it shows:
Not Found
Driver 3.51 Not Found.
I don't see the databases listed anymore from winmysqladmin.exe.
Cannot connect to my database from the command line either.
BTW: Anytime I make a change to php.ini I stop and start IIS.
Thanks,
Steven
Subject
Written By
Posted
mysqld keeps dying
August 27, 2005 10:55PM
Sorry, you can't reply to this topic. It has been closed.
Content reproduced on this site is the property of the respective copyright holders.
It is not reviewed in advance by Oracle and does not necessarily represent the opinion
of Oracle or any other party.