We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 24946
    • 17 Posts
    Upon first install, on the "connection information," "Database connection and login information" screen, for database login name and password, i input the user name and pass I use to login to my hosting account. It gives me the " Connecting to mysql server: Success! " ok, and then the connection character set option, but when i try to click "Create or test selection of your database," nothing happens. Nothing at all. I can’t go further.

    Please help!

    Thanks.

    Revolution 2.0.2-pl Traditional
    Operating system Linux
    MySQL version 5.0.91-community
    Apache version 2.2.13
    PHP version 5.2.11
      • 3749
      • 24,544 Posts
      Some hosts don’t allow you to create a DB in code so MODx fails to create one during Setup. If that’s the case, you’ll have to create the DB yourself in PhpMyAdmin. Be sure to make a note of the database name of the new DB -- it may not be what you entered because some hosts will add a prefix to it.

      After you’ve done that, run Setup again and be sure to enter the correct name of the DB.
        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
        • 24946
        • 17 Posts
        It’s still not working. I created a database and input the name. Interestingly, both the DB user name and pass, as well as the hosting user name and pass give me the green light: " Connecting to mysql server: Success! " but under neither can I click "Create or test selection of your database." The text comes up as a link, but when I click on it nothing happens.
          • 3749
          • 24,544 Posts
          Did you put "localhost" in the Database Host field -- that’s the normal value.

          If so, the only things left that I can think of are: your host uses a different name or port or there’s a mismatch or misconfiguration in the PHP/MySQL setup at the host.

          I think character encoding trouble might also be a possibility if your DB is not consistent with respect to charsets.

          Permissions are also a recurring problem, but usually MODx will detect that. Make sure your core/config directory is writeable and create an empty, writable core/config/config.inc.php file if there’s not one there already.
            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
            • 24946
            • 17 Posts
            Bob,

            I uploaded Revolution to a different hosting provider and was surprised to see that, although I had it on the previous server, the config.inc.php file was not there. I created a database, grabbed the aforementioned file off the old server, and voila! Core installation complete.

            Additionally, this has allowed me to find out why it wasn’t working on the first server. The second server had me input ’mysql.mydomainname.com’, whereas the second server wanted ’localhost.’

            The first server, for user name, wanted ’domain-username_database-username’ and (here’s where it was tripping me up) for database name, wanted ’domain-username_database-title.’

            The second server didn’t want the domain-username prefix as part of the whole database username and title. I figured out what the first server wanted by manually setting up a mysql database and looking at what the server called the user name and database name.

            So thanks a lot! Oh, and one more question. Should I change the core/cache and core/config folders back to 755?
              • 22303 MODX Staff
              • 10,725 Posts
              Quote from: rgk at Sep 21, 2010, 09:32 AM

              So thanks a lot! Oh, and one more question. Should I change the core/cache and core/config folders back to 755?
              core/config sure, but definitely do not set core/cache back to 755 unless you give ownership to the user executing the php process (typically the web server user).