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

    I just read through Tanners posts regarding local installation but my problem is a little different.

    I have now installed Xampp on my pc. It works fine - at least with Wordpress. But I get stuck in the install when it asks for username/password. I have no clue. I know this may come as a stupid question, but do I have to find that somewhere? I don’t know how to create it in Xampp if that is the case.

    See attached screenshot.


    Please help.

    Thanks - any help is appreciated.


    Soren
      • 28042 ☆ A M B ☆
      • 24,524 Posts
      This is the username/password for your MySLQ database. The red text you are seeing indicates that the installer is able to connect to the MySQL server, so you have a correct username/password (looks like the default MySQL installation setup) but the database does not exist. This should not be a problem; the installer will attempt to create the database on the next page.
        Studying MODX in the desert - http://sottwell.com
        Tips and Tricks from the MODX Forums and Slack Channels - http://modxcookbook.com
        Join the Slack Community - http://modx.org
        • 28025
        • 50 Posts
        Hi Susan,

        Thanks for writing back.

        The pages I got after the screenshot was the "options/choose plugins etc." page (it’s called Optional Items). And the page after Optional Items is called Pre-Install Validation. THat’s where I get the error now. (Please see new screenshot)

        Somehow I got to create a DB in Xampp - but how do I do that? If anyone knows how to create a database in Xampp, please let me know.

        Thanks to everyone here.


        Soren
          • 21496
          • 225 Posts
          Quote from: Soreng at Nov 03, 2007, 11:30 AM

          Somehow I got to create a DB in Xampp - but how do I do that? If anyone knows how to create a database in Xampp, please let me know.

          Hi - to create a new database, you start Apache and MySQL, and then you go to phpMyAdmin (probably http://localhost/phpmyadmin) and there’s a box "Create new database".
            René
            • 28025
            • 50 Posts
            Thank you SO much, Nightsignals...

            I am now creating the DB, but in the phpmyadmin (I called the DB modx), and it asks for the following:

            Create new table on database modx (It wants name + number of fields). What do I write here?

            Again, thank you Nightsignals.


            Soren
              • 21496
              • 225 Posts
              Hi Soren - you don’t need to create the tables, the installation routine of MODx will do that for you.
                René
                • 28025
                • 50 Posts
                Hi again,

                But the install will not let me go any further without the DB... Please have a quick look at the screenshot I attached...

                Soren
                  • 21496
                  • 225 Posts
                  If the DB exists, it’s a problem with username/password. Best thing probably is going to phpMyAdmin > Privileges and then ’Add new user’.

                  Create an user/password, grant all privileges. This user is needed to connect to that databe, and you have to insert it in the installation screen (the one before the attached screenshot). You can also use ’Test Database Connection’ from there, until you get an okay.

                  If you plan to deploy that installation on a remote server later, it saves you time using the same database name and user as you will have on the remote server. That way you can just move the config file to the server without any changes.
                    René
                    • 28025
                    • 50 Posts
                    THANKS! It worked smiley

                    I really appreciate what you did. Thank you, Nightsignals.


                    Cheers - Soren