-
MODX Staff
- 12,272 Posts
Create your database first and then install. Your host likely doesn’t allow create database privileges. Might be something we should add to the installer explanation.
Ryan Thrash, MODX Co-Founder
Follow me on Twitter at @rthrash or catch my occasional unofficial thoughts at thrash.me
Hi,
You might want to change the "Connection Method" to "SET NAME".
.. Wayne.
This post comes up first in Google for this error so I thought I should also post my solution here, hope that’s ok considering the post age. Some background - I’m a web designer and do a lot of MODx installs.
Exact same problem happened for me as the posters above (all my database and login details were correct, checked and double-checked, but when I tried to install on the remote server I got the error "Checking database: failed - could not create database").
I tried a heap of different things to try and troubleshoot the problem but nothing worked. In the end what did work was temporary disabling AjaxSearch by just removing the code I had in my search snippet ([!AjaxSearch? &ajaxSearch=`0` &AS_showResults=`0` &AS_landing=`41`!]), emptying out the database, re-exporting the localhost version of the MODx database, and doing the entire upload again.
Painful but this worked. Hope it helps someone else out in future.