I tried to upload a file via my web site, which uses a common php video-file-upload script, during the uploading process this page appeared:
“Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request.
Please contact the server administrator, and inform them of the time the error occurred, and anything you might have done that may have caused the error. More information about this error may be available in the server error log. Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.”
So then I looked in the site script’s Error Log and I see this:
PHP Warning: mysql_connect() [<a href=‘function.mysql-connect’>function.mysql-connect</a>]:
Access denied for user ‘xyzadmin’@‘localhost’ (using password: YES) in /home/public_html/logout.php on line 25
So, I look at line 25 of the login.php file and I see this:
$conn = mysql_connect($dbhost, $dbuser, $dbpass) or die (‘Error connecting to mysql’);
Can you shed some light on what I might do to remedy this? Or offer some guidance? I’m not very versed in databases, mysql or phpmyadmin.
Thanks