Code: Select all
Warning: mysql_connect() [function.mysql-connect]: Access denied for user 'apache'@'localhost' (using password: NO) in /home/admin/domains/testing.installatron.com/public_html/phpmyfaqa3/inc/PMF_DB/Mysql.php on line 67
The connection to the database server could not be established.
The error message of the database server:I tracked the problem down to this line in installer.php:
Code: Select all
// connect to the database using inc/data.php
require_once(PMF_ROOT_DIR."/inc/data.php");If I change it to require() or include(), the install process works correctly.
I did a test of require_once(), and it does work on the server.
What's the cause of this problem?
(I understand that I can install it by manually editing the file, but I'd like to know why the problem exists.)
Thanks,
Rowan.