Introduction: This is a detailed page for connecting PHP to the MySQL database. It introduces the knowledge, skills, and experience related to connecting PHP, PHP, MySQL, and Web PHP to the MySQL database, and some PHP source code.
Class = 'pingjiaf' frameborder = '0' src = 'HTTP: // biancheng.dnbc?info/pingjia.php? Id = 350537 'rolling = 'no'>
1. The libmysql. dll file is missing in the System32 (c: \ windows \ system32) Directory of the system. The solution is to find libmysql. dll in the PHP Directory andCopy libmysql. DLL to c: \ windows \ system32Directory, and then restart the web service.
2. php. in the INI file, the previous ";" in "; Extension = php_mysql.dll" is not removed, so the corresponding function cannot be used. The solution is to open PHP. INI file found
; Extension = php_mysql.dll
Change
Extension = php_mysql.dll // remove the previous one to make it take effect.
3. the MySQL directory has no read permission. The correct directory permission is as follows:
Full administrator control
Full system control
Users read and run + list folder directories + Read
Delete all other user permissions, and restart MySQL and Web services.
(Note: The preceding settings do not have security settings. We recommend that you modify the settings and restart the server)
Important. Check PHP. check the permissions of the INI file, the permissions of the PHP file copied to system32, And the permissions of the PHP installation directory folder. at least users default permissions are required. the temp folder must have at least the Users Group modification level permission.
From www.clxw.com
The third is not met. The other two are useful ..
Love J2EE follow Java Michael Jackson video station JSON online tools
Http://biancheng.dnbcw.info/php/350537.html pageno: 3