Copy these files along with the MySQLconnector jar file (if needed) in the WebContent \ WEB-INF \ lib folder of your Web application.
将这些文件和MySQL连接器jar文件(如果需要)复制到您的WEB应用程序的WebContent \ WEB - INF \ lib文件夹。
2
In this sample application a PDO object instantiated within the PHP file instantiates the connection with the MySQL database through the MySQLconnector.
This connector will vary from database to database, but taking MySQL as an example, install the connector by installing the operating system-relevant driver from the MySQL website.