We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 30914
    • 4 Posts
    Hello,

    I have a problem uploading modx to an server space since i do not know how to change the database information manually. The situation is simply that my server provider does not allow me to install modx the conventional way (write restrictions) so I’ve had to install modx locally then up the database with a mySQL query and upload the "installed" modx files. The problem is that i need to change the information for the address to the database and the login instructions(user name and password). I do not know how to do this manually, in what file is this information stored?

    Thank you,

    Erik
      • 26903
      • 1,336 Posts
      Have a look at the top part of the file /manager/includes/config.inc.php, this should contain database info pertaining to your old install, edit these fields to your new install parameters.
        Use MODx, or the cat gets it!
        • 3749
        • 24,544 Posts
        After editing config.inc.php, it’s a good idea to do an Update install of MODx to clean up any loose ends. It should leave your data intact.

          Did I help you? Buy me a beer
          Get my Book: MODX:The Official Guide
          MODX info for everyone: http://bobsguides.com/modx.html
          My MODX Extras
          Bob's Guides is now hosted at A2 MODX Hosting