We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 25830
    • 19 Posts
    Is it possible for you to post the godaddy database setup screen (or summary)?
      • 3749
      • 24,544 Posts
      Quote from: kathleenread at Aug 04, 2008, 07:41 AM

      i’ve been trying [unsuccessfully] since my last post to get modx working on my godaddy hosting. have reuploaded the files in case i messed that up... created a new database in case i messed that up... reentered passwords for my database in case i messed that up... and still having no joy...
      i’ve emailed godaddy and they replied: ’We will need to know the permissions that the database requires in order to determine why you are unable to connect to the database. As this is not our product, we are not aware of the permission requirements.’
      does anybody know what they would need information-wise in response to that? susan ottwell and bob ray, you were both kind enough to help me in the past with starting to get this sorted out, if you or any other nice folk would be inclined, i’d be very grateful if you would have a stickybeak around my files [am happy to email to email my ftp details, could give you my email address so yours wouldnt have to be shown to everyone] and see if i’m missing something? because i am stumped. again, am sure it’s me, no doubt at all that i’m missing something, just not sure what... undecided

      Kathleen, if you’re getting a message during the MODx install saying it can’t connect to the database, it’s not a permission issue. It almost always means that the info in modx’s config.inc.php (in the /manager/includes dir.) doesn’t match what’s in your database.

      One problem I had when I first used MODx was that I created the database but hadn’t actually created a USER in the database. The screens to do this can be confusing and it’s easy to think you’ve created a user without doing it (or to assume that you are automatically the user).

      On the cPanel at my host, you select "MySQL Databases" Then select the modx db, then scroll down to enter the username and password and click on "add user." It will tell you that the user has been created but it will lie to you about the username. When you go back to the original MySQL Databases page, you’ll see the real username, usually prefixed with your username at the host. You’ll also see the real name of the DB there. Those values, and the password you just created, are what go in the config.inc.php file. It will typically look something like this assuming that kread is the name you use to log on to your Cpanel, modx is the name you gave the dbase, JoeBlow is your new user, and his password is BiteMe. Remember that everything is case-sensitive.

      $database_type = 'mysql';
      $database_server = 'localhost';
      $database_user = 'kread_JoeBlow';
      $database_password = 'BiteMe';
      $database_connection_charset = '';
      $dbase = 'kread_modx';
      $table_prefix = 'modx_';		
      error_reporting(E_ALL & ~E_NOTICE);


      Hope this helps.
        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
        • 15451
        • 87 Posts
        thanks very much to all of you for your help, i really appreciate it. i found a blog just now where someone was having trouble setting up wordpress with godaddy and in the end they found out that godaddy’s windows packages don’t support php [?] i have a windows one so i’ve just changed it over to linux to see if that’ll help things. can take up to 72 hours though to take effect so will be a while b4 i can say if it worked.

        i had a look bob b4 i got the wheels in motion to change to linux, to see if i could add a user as you suggested. i think with godaddy that the database name is the same as the username [or maybe this is where you think i could be confused?]. i’ve put a screenshot up at http://chillischnapper.com/database_setup.png of the fields i fill in when setting up a db with godaddy. then to get the details of the database i get the screen like http://chillischnapper.com/godaddy.png [so the bold headings on the right have the relevant info one line lower on the left]. so to put that into my modx installation fields i’d do... http://chillischnapper.com/modx.png to no avail.

        so i’m crossing my fingers that it is a windows problem although i had read windows was fine for modx, might just be a godaddy thing. i hope!! again, i am very grateful to you all for taking the time to help. will let you know how i fare... rolleyes
          • 4041
          • 788 Posts
          The steps you took in images you provided is exactly how you will set it up once the server switch is done to the linux package. smiley
            xforum
            http://frsbuilders.net (under construction) forum for evolution
            • 15451
            • 87 Posts
            thanks breezer! will get there one day. am seeing how very ’holey’ my knowledge about things is. i now have a ’php for dummies’ book sitting on my kitchen table ready for me, otherwise i will fill the forums!! wink
              • 25830
              • 19 Posts
              I think MySQL is also not supported on most Windows hosting packages.
                • 15451
                • 87 Posts
                houston we have lift off!! it’s working with the change to linux from windows. thanks so much to you all again for your help! grin
                  • 16183
                  • 1,390 Posts
                  Nice one! would love to see the site when its up n running wink
                    • 3749
                    • 24,544 Posts
                    Congratulations. It should be a comfort to know that you weren’t actually doing anything wrong (except getting Windows hosting). grin

                    Bob
                      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
                      • 15451
                      • 87 Posts
                      yes indeed. i was pulling my hair out, have not got a great deal of confidence in my skills in this area so it was unreal to install it and see it work!! lordy knows how many posts i’ll make if i had that much trouble getting it up and running! might need bigger storage area for the forum... wink
                      and thanks kongado! for the mo i’m just mucking around with different things to see what does what and how it all fits together. tonight i tackle ditto... have got a site in the pipeline though that i’m keen to use modx on so will show you when [if!] done. cheers all smiley