4794 Posts in 1830 Topics by 1443 members
|Go to End|
18 December 2008 at 2:24pm
Tried install, but always run into this error. Here's what I did.
1) download the 2.2.3 tar, uploaded to hosting (a virtual slice), untar to /public_html/[my site name]/public_html/sgdcsite4/silverstripe-v2.2.3
2) created MySql database
3) launched install.php, provided MySql connection (db name, user, pw, localhost), checked and the connection is working. Proceeded with installation.
The install quit very quickly. Below is the msg:
I am now running through the installation steps (this should take about 30 seconds)
If you receive a fatal error, refresh this page to continue the installation
# Creating 'mysite/_config.php'...
# Creating /home/[my site name]/public_html/sgdcsite4/silverstripe-v2.2.3/mysite/_config.php
# Creating '.htaccess' file...
# Creating /home/[my site name]/public_html/sgdcsite4/silverstripe-v2.2.3/.htaccess
# Building database schema...
Fatal error: DATABASE ERROR: Couldn't connect to MySQL database in /home/[my site name]/public_html/sgdcsite4/silverstripe-v2.2.3/sapphire/core/model/Database.php on line 431
I checked /mysite/_config.php, database connection is the right one.
$project = 'mysite';
$databaseConfig = array(
"type" => "MySQLDatabase",
"server" => "localhost",
"username" => "[right user name]",
"password" => "[right pw]",
"database" => "[right db name]",
// Sites running on the following servers will be
// run in development mode. See
// for a description of what dev mode does.
// This line set's the current theme. More themes can be
// downloaded from http://www.silverstripe.com/cms-themes-and-skin
DOES ANYONE have any pointers for me?
|Go to Top|