However, all problems have been overcome and finally 3 days later I have my first local install of mahara to play with, and next to me is teh Mahara 1.2 ePortfolio Beginners Guide.
]]>I guess it must be a db issue but I have no idea what error is being generated.
Errors are set to output in php.
]]>
I wrote a simple test to check the database as below:
[code]
$argHostname = 'localhost';
$argUsername = 'root';
$argPassword = '';
$dbName = 'mahara124';
$link = mysql_connect($argHostname,$argUsername,$argPassword);
if (!$link) {
die('Could not connect: ' . mysql_error());
}
mysql_select_db($dbName,$link);
$sql = "Create table demo(`id` int(10) not null, `name` varchar(20) not null) ENGINE InnoDB";
if (mysql_query($sql)){
echo "added table";
}else{
echo "error ".mysql_error();
}
mysql_close($link);
[/code]
This works fine and creates the table without any issues.
I've double checked the UTF8 character set and InnoDB type so I'm at a loss as to why the install connection fails. I'll try an older version and see what happens.
]]>I'm using mysql as I don't intend to upgrade and it will only be used for dev testing.
Mahara fails to connect to mysql but shows no errors. There is no apache error, no maharadata log or mysql error. I get a server time out after30 seconds and a blank screen.
Tracing through the code it appears to fail on adodb.inc.php Connect function and as $forseNew is default false the _connect is failing.
it appears to fail on checking the adodb_phpver so never creates a connection_id, is there a method of getting any error out. If I print the adodb_phpver it outputs 20480
I'm running on wamp; apache 2.2.11, mysql 5.1.33 php 5.2.9
any advice would be appreciated,
cheers.
]]>