We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 25034
    • 12 Posts
    Hi, I’m having problems installing Modx for the first time. I’ve uploaded all of the files to my server (through Bluehost) and edited the permissions as instructed. When I navigate to the installation doc on the server and try to test the db connection, it fails!

    I’ve set up the db ahead of time through cPanel as "modx". I’m wondering if I’m entering in the table prefix incorrectly? it’s basically a prefix with an underscore that was amended to the front of my db when it was created.

    For example:

    Database name: modx
    Database prefix: cutyourc_

    Database host: localhost
    username:
    password:

    Basically, the installation keeps telling me the test connection is failing and it won’t continue with the installation.

    Here’s my system particulars:

    Web Server:

    * PHP version: 4.4.6
    * Apache: 1.3.37 (Unix)
    * Operating System : Linux
    Database:

    * MySQL version: 4.1.21-standard-log

    MODx:

    * Version: 0.9.5

    Browser/Client:

    * Firefox 2.0
    * XP

    Many Thanks!
      • 33337
      • 3,975 Posts
      cPanel adds your cPanel username as a prefix to db name, for example if u created a db named "modx" its actually "username_modx" .. try it.

      .. and dont confuse the table prefix with db name prefix, both are different.

      regards.
        Zaigham R - MODX Professional | Skype | Email | Twitter

        Digging the interwebs for #MODX gems and bringing it to you. modx.link
        • 25034
        • 12 Posts
        smiley smiley smiley Thanks a million!

        Sweet!