2007-04-08 01:25:37
Install MYSQL problem
Server: Windows, (shared access)
mysql 4.1.18
Just installed ATutor 1.5.3.3 and I have the following errors repeated 9 times each:
Warning: mysql_real_escape_string() Access denied for user 'ODBC'@'localhost' (using password: NO) in C:\Inetpub\vhosts\chaparralmiddle.us\httpdocs\atutor\install\include\common.inc.php on line 37
Warning: mysql_real_escape_string() a link to the server could not be established in C:\Inetpub\vhosts\chaparralmiddle.us\httpdocs\atutor\install\include\common.inc.php on line 37
Here is where the table creation seemd to have failed.
-------------------------------------------
if ($prefixed_query != false ) {
$table = $_POST['tb_prefix'].$prefixed_query[4];
if($prefixed_query[1] == 'CREATE TABLE'){
if (mysql_query($prefixed_query[0],$db) !== false) {
$progress[] = 'Table <strong>'.$table . '</strong> created successfully.';
} else {
if (mysql_errno($db) == 1050) {
$progress[] = 'Table <strong>'.$table . '</strong> already exists. Skipping.';
} else {
$errors[] = 'Table <strong>' . $table . '</strong> creation failed.';
}
}
--------------------------------------------------------------
When I look at phpmyadmin, it seems that the table for users is there, but its not. Can I fix the install or do I delete and start over. I cannot figure why it created the first tables, but not the last.
Thanks,
Carl