We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 5393
    • 63 Posts
    Dear all:

    I have problems when I install modx in my local computer. I download xampp to control apache, mysql..etc to set up a server in my local computer for testing website. after I upzip the modx source file I download from modx official site, I go to:
    http://localhost/setup/index.php.

    In the connection information page, after click "create or test selection of your database", there is a red color message saying "checking database: Modx could not create your database. Please manually create your database and then try again"

    my question is: how can I do that?

    thx
    ernest
      • 23261
      • 9 Posts
      Hi Ernest,

      Does your stack include a MySQL admin tool like phpMyAdmin? I run WampServer locally which includes phpMyAdmin & makes it easy to create a new database but as I’m on Windows I’m not familiar with xampp.

      Hope that helps.
      Phil
        • 5393
        • 63 Posts
        Thanks for your reply.

        I really don’t see that there is any mysql admin tool like phpMyAdmin in xampp. or there is? anyone tell me about that? thx thx.

        ernest
          • 10208 ☆ A M B ☆
          • 1,780 Posts
          the path to xampp’s phpmyadmin is:

          localhost/phpmyadmin
          (type in browser)

          It should open the phpmyadmin login page. If not, something is wrong.

          If you followed the instructions for installing xampp you should have created a password for phpmyadmin shortly after successful installation. If not, go to localhost in your browser (type "localhost") and the xampp start page should show up. Choose your language, then go to "security". There’s a link to change the settings about 3/4 down, click that and set your passwords. The phpmyadmin user is always "root", you choose the password though.

          Assuming you did all that, sign into phpmyadmin with "root" and "your password" and then create your modx database. Leave the modx_ prefix in the table field but you can name the database anything you like. I chose "mysitenamemodx" so I don’t loose track of it. :~}

          You do need the MODx database to be created before you install MODx.

          HTH

          Kori
            Frogabog- MODX Websites in Portland Oregon
            "Do yourself a favor and get a copy of "MODX - The Official Guide" by Bob Ray. Read it.
            Having server issues? These guys have MODX Hosting perfected - SkyToaster