Installing pdo_mysql on Linux
Two days ago, when I transferred the new project to the server for deployment, I kept being unable to connect to the mysql service. I confirmed the account and password several times, but it was still the same. Later, I thought that the new data connection was for pdo, but It was not added when compiling PHP on the server. I searched a lot of information on the Internet before I found a convenient and fast method.
Download, give permission, run. The downloaded script will help restart the servicewget -c http://down.wdlinux.cn/in/pdo_mysql_ins.sh<br>
chmod 755 pdo_mysql_ins.sh <br>
./pdo_mysql_ins.sh
Solve the problem perfectly in three steps.
This is just the installation of pdo, as well as memcache, mysql innodb, etc. If you are interested, you can click on the link to view http://www.lujianlong.com/?p=362