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

    I have managed to upload Modx to my server. I am using a Linux Server with 5 my SQL databases available and running (so, the pitch says) PHP 4 or 5.

    I have not created a database for Modx and the instructions say that the installer will attempt to create one for me. In that case, what should I enter as database login name and password (if I have no database) as the instructions prompt me to enter these details?

    I get as far as the pre-install validation page where I get the error message "Database connection failed"

    Do I need to fiddle with My SQL on the server?
    Do I need to create a database, if so, how?

    Your answers and help are very much appreciated.

    Cheers

    tribeka
      • 28042 ☆ A M B ☆
      • 24,524 Posts
      You have to have a username/password in order to connect to the MySQL engine. Then you can either create a new database, if that user has permissions to do so, or specify an existing database to connect to, again if that user has permissions to connect to that database. MySQL user validation is a top-down process, so you connect to the engine before you connect to any specific database before you can access any given tables.
        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
        • 31508
        • 17 Posts
        Okay, me too. I have just done the install of modx, created a database called multimedia,
        and then I get to the test database conenction and collations entry boxes page.

        When I click on the blue link to test the connection I get nada.
        I am using IE and in the status bar at bottom left the error is pointing to connection.js

        It’s been set to 777 permissions.

        I’ve got MySQl 5.1.42 and PHPMyAdmin 3.1.0 and PHP 5.3.0 versions running.

        Its not doing anything at this page:

        Database Information
        Server connection and login information


        thanks VFB cb
          VFB cb
          Multimedia Online
          www.videofeedback.com
          • 31508
          • 17 Posts
          Here’s what the error box says in IE:
          Webpage error details

          User Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.0; Trident/4.0; SLCC1; .NET CLR 2.0.50727; MDDC; .NET CLR 3.5.30729; .NET CLR 3.0.30729)
          Timestamp: Sun, 10 Jan 2010 04:11:24 UTC


          Message: Object doesn’t support this property or method
          Line: 1
          Char: 1
          Code: 0
          URI: http://www.videofeedback.com/install/connection.js

            VFB cb
            Multimedia Online
            www.videofeedback.com
            • 31508
            • 17 Posts
            ooooweee never mind

            I downloaded 2.0 beta and seem to be off and running with no issues.

            thanks and a tip o’ the Hatlo’s Hat to the Modx teams.

            VFB cb
              VFB cb
              Multimedia Online
              www.videofeedback.com