Hi Gordon,
Thanks for the vote of confidence!! I will proceed.
One other thing that haunts me and I cannot for the life of me work it out. When I log into Moodle and view the database I get a message at the bottom of the screen informing me that I ought to assign a password to the user root as it is a breach of security. So I think, okey dokey - no problem. I launch MYSQL admin and assign a password to root. I then update my config.php file and launch Moodle. To my surprise I get the 'database connection error'. I remove the password and it all works again. How odd I thought! I then created a new MYSQL user, assigned all the rights; assigned a password, updated Config.php and launched Moodle. Again, database error. I change the config.php back to root with no password and it works once again.
I have since copied all data + files to a test server and upgraded MYSQL from 4.1.9 to 5 and get the same problem. I even wrote a simple PHP connect script and this will only connect as root with no password!
I am using PHP 4.3.11 and Apache 2.0.58.
I have little experience with AMP so I am not sure how to trouble-shoot this further.
Any advice you or anybody else could give me will be much appreciated.
Thanks in advance.
John