php error happened
Technical information | |
Error type | 2 |
Error description | mysql_connect(): Access denied for user 'admin_new1'@'localhost' (using password: YES) |
URL | www.cdec.or.th/dentist/login.php? |
Error file | /home/cdec/public_html/dentist/include/dbconnection.php |
Error line | 9 |
SQL query | |
Solution | PHP needs to be set up to use it with MySQL. To do that please open php.ini file in your C:Windows directory with a text editor, find the string ;extension=php_mysql.dll and remove a semicolon from the beginning. Then find the string beginning with ;extension_dir = and make sure that this points to folder within your PHP installation where php_mysql.dll file resides. Usually it is "c:phpextensions" And at last copy libmysql.dll from your MySQL installation into the C:WindowsSystem32 directory. |