I have a newly upgraded 2.0+ site running on hostgator (linux). I have just run a functional DB test from inside moodle 2.0, partly because everything is so slow and also because a few things aren't working properly since upgrading from 1.9.10+. I got the following 3 errors and 1 exception:
Unique index is accent insensitive, this may cause problems for non-ascii languages. This is usually caused by accent insensitive default collation. at [/home/username/public_html/insegnanti-inglese.com/moodle/lib/dml/simpletest/testdml.php line 2769]
Unexpected exception of type [dml_write_exception] with message [Error writing to database] in [/home/username/public_html/insegnanti-inglese.com/moodle/lib/dml/moodle_database.php line 394]
Debug info:
Duplicate entry 'aäa' for key 'mdl_unittabl_nam_uix'
INSERT INTO mdl_unit_table (name) VALUES(?)
[array (
0 => 'aäa',
)]
- line 843 of /lib/dml/mysqli_native_moodle_database.php: call to moodle_database->query_end()
- line 885 of /lib/dml/mysqli_native_moodle_database.php: call to mysqli_native_moodle_database->insert_record_raw()
- line 2763 of /lib/dml/simpletest/testdml.php: call to mysqli_native_moodle_database->insert_record()
- line ... of ...
SQL operator "=" is expected to be accent sensitive at[/home/username/public_html/insegnanti-inglese.com/moodle/lib/dml/simpletest/testdml.php line 2797]
SQL operator "=" is expected to be case sensitive at[/home/username/public_html/insegnanti-inglese.com/moodle/lib/dml/simpletest/testdml.php line 2800]
Can anyone say what these relate to and if they can be fixed?
If not, I'm debating deleting the whole install and the contents of my database and starting again. I can go to phpadmin in cpanel and look inside the database. Rather than set another database up from scratch, is it possible just to delete all the tables from inside the db (so it's empty) before installing moodle again? It's just that if there is some sort of error in the database I don't want it to carry over into a new install.
Thanks.
Brian