17488 Posts in 4473 Topics by 1978 members
|
Page:
1
|
Go to End | |
| Author | Topic: | 2180 Views |
-
Database Contains Dashes

27 December 2007 at 1:04pm
I have created a database for my SS installation, but my host's server creates my domain as follows...
mydomain_net_-_ss
I cannot change anything before the ss, as that is pre-determined by the server. no matter what I type for the database name, the server populates this mydomain_net_-_ and then whatever I type in as the database name.
The problem is when I get to the SS install page and enter the database name, the dash between the underscores disappears and then it tells me that the database does not match. It looks like this after I click on "Re-Check Requirements" - mydomain_net__ss
It seems that SS does not recognize dashes and my host server or MySQL host creates databases with dashes. Does anyone know how I can work around this?
-
Re: Database Contains Dashes

28 December 2007 at 12:54pm
Nevermind. I figured it out with the help of Simon. Thanks, Simon!
-
Re: Database Contains Dashes

22 January 2008 at 12:46pm
Would you care to share how you solved this issue as I have the same problem?
Thank you
-
Re: Database Contains Dashes

22 January 2008 at 2:07pm
Never mind.
I "fixed" it by hardcoding the database name into the install.php file in the section beginning at line 12:
// Load database config
if(isset($_REQUEST['mysql'])) {
$databaseConfig = $_REQUEST['mysql'];
} else {
$databaseConfig = array(
"server" => "localhost",
"username" => "root",
"password" => "",
"database" => "databasenamewithdashes--------here",
);
}
| 2180 Views | ||
|
Page:
1
|
Go to Top |

