# HG changeset patch # User Dan # Date 1195167173 18000 # Node ID ba28d43a6b8662ac425ba395c60e2c968187829a # Parent c26308d8188276accb639b153a08c28d6c57949a Fixed a few (more) MySQL issues with the installer and dashes in the database name diff -r c26308d81882 -r ba28d43a6b86 install.php --- a/install.php Mon Nov 05 20:00:41 2007 -0500 +++ b/install.php Thu Nov 15 17:52:53 2007 -0500 @@ -670,7 +670,7 @@ die('root'.$e); } $rsp = 'good'; - $q = mysql_query('USE '.$dbname, $conn); + $q = mysql_query('USE `' . mysql_real_escape_string($dbname) . '`;', $conn); if(!$q) { $e = mysql_error(); @@ -703,7 +703,7 @@ else die('auth'.$e); } - $q = mysql_query('USE '.$dbname, $conn); + $q = mysql_query('USE `' . mysql_real_escape_string($dbname) . '`;', $conn); if(!$q) { $e = mysql_error(); @@ -1154,7 +1154,7 @@ If you need to modify MySQL and then distribute your modifications, you must either distribute them under the terms of the GPL or purchase a proprietary license.

MySQL login information for this virtual appliance:

Database hostname: localhost
Database login: username "enano", password: "clurichaun" (without quotes)
Database name: enano_www1

'; }