Title
MySQL can also be connected.
mysql> use testdatabase changedmysql> source e:/sql/db. SQL; Query OK, 0 rows affected (0.03 sec)
The php.ini is open.
;; Extension=php_bz2.dll;extension=php_curl.dll;extension=php_fileinfo.dllextension=php_gd2.dll;extension=php_ Gettext.dll;extension=php_gmp.dll;extension=php_intl.dll;extension=php_imap.dll;extension=php_interbase.dll; Extension=php_ldap.dllextension=php_mbstring.dll;extension=php_exif.dll ; Must is after mbstring as it depends on Itextension=php_mysql.dll;extension=php_mysqli.dll;extension=php_oci8.dll ; Use with Oracle 10gr2 Instant Client;extension=php_oci8_11g.dll ; Use with Oracle 11gR2 Instant client;extension=php_openssl.dll;extension=php_pdo_firebird.dllextension=php_pdo_ Mysql.dll;extension=php_pdo_oci.dll;extension=php_pdo_odbc.dll;extension=php_pdo_pgsql.dll;extension=php_pdo_ Sqlite.dll;extension=php_pgsql.dll;extension=php_pspell.dll;extension=php_shmop.dll
Phpinfo (); only mysqld in the display:
Mysqlndmysqlndenabledversionmysqlnd 5.0.10-20111026-$Id: e707c415db32080b3752b232487a435ee0372157 $ Compressionsupportedsslsupportedcommand buffer Size4096read Buffer size32768read timeout31536000collecting Statisticsyescollecting Memory statisticsnotracingn/aloaded Pluginsmysqlnd,example,debug_trace,auth_plugin_mysql_ Native_password,auth_plugin_mysql_clear_passwordapi Extensionsno Valuemysqlnd statisticsbytes_sent
Reply to discussion (solution)
Extension=php_mysqli.dll
Try, also useless, all extensions are open or not ...
Phpinfo () and also shows where the php.ini used
Please check if it is consistent with your changes.
Copy the Libmysql.dll in the PHP directory into the system32 directory, in the case of a 64-bit system, then copy the SysWow64 directory