Thread:Project:Support desk/MediaWiki 1.20.2 installation/reply (2)

Just to add a bit more info...

The error says Access Denied but I feel that this is a red herring since I can only create databases through Plesk and I don't have permission to CREATE DATABASE but I can pretty much do everything else. In fact, I can get into my database via phpMyAdmin and create tables in the db without problem.

Looking at the code (and I am just a novice at PHP), it seems to be falling over at the function setupDatabase in MysqlInstaller.php. If getConnection results in success, the funtion appears to return but, if not, it tries to create the database with CREATE DATABASE. So, I assume that MediaWiki think my connection credentials are wrong but I've double-checked these - my host is localhost and I specify the correct database name and the database username and password are the same as those I use in Plesk and phpMyAdmin to administer the database.

If I deliberately set a wrong password in the Connect to database setup screen, it gives me a DB connection error and won't let me proceed to the next screen but the correct password takes me to the Database settings screen suggesting that the connection is valid. So, why does it then appear to fail later on in the setup script?

Any thoughts?