I cannot do that, the install.php cannot connect to DB although I define db.php correctly as following:
- Code: Select all
<?
//MySQL database
define( "dbuser", "root");
define( "dbpassword", ""); //WAMP default not using password for DB
define( "dbname", "photostore");
define( "dbhost", "localhost");
//Site HTTP URL
define( "surl", "http://localhost/store");
//Site HTTPS URL
//define( "ssurl", "http://localhost/store");
//Site root. It is an empty if the script is in root directory or "/store" if the script in "/store" directory.
define( "site_root", "/store" );
include("functions.php");
?>
Thanks in advanced.