Home  >  Article  >  php教程  >  Linux installation pdo_mysql

Linux installation pdo_mysql

WBOY
WBOYOriginal
2016-12-01 00:00:171354browse

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
chmod 755 pdo_mysql_ins.sh
./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

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn