Recently, due to the company's needs, I began to learn php... It feels a little simple .. It may be a bit of java basics .. But not yet .. It's just a simple test. The problem also occurs when installing the tool. I have summarized three points. You are welcome to join us for further study.
Now let's talk about why this problem occurs:
(1) mysql has been installed before. Because mysql has been integrated in wamp, you do not need to install it yourself. You only need to install the mysql client tool, just remove the previously installed mysql. (This is my reason) tip: Back up useful data before unloading mysql.
(2) The php_mysql.dll file cannot be found. Just reconfigure the path of the file. In php. configure in ini, find extension_dir = "" and write the correct path into it. (by default, the path of php_mysql.dll is under D:/wamp/php/ext, I installed it on disk D)
(3) change the mysql configuration file my. ini.
Change the engine
Default-storage-engine = INNODB
Change
Default-storage-engine = MyISAM
Updating... You have encountered other solutions. Hope to communicate with each other
Author: hjqlovecwz