We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 22303 MODX Staff
    • 10,725 Posts
    And when you create the database manually as it instructs you to?
      • 12872
      • 68 Posts
      I had created the database named modx earlier before installing. When it asked to create database, i deleted the database and created it again with the same results. I have also tried installling afresh with no database preinstalled and had the same results.
      sorry for the delay in responding
        • 28042 ☆ A M B ☆
        • 24,524 Posts
        Are you sure you have the name of the database correct? On many shared hosts (CPanel especially) the database name is automatically prepended with something, usually your CPanel username or part of your domain name. For example, if you create a table named "modx", it may actually be named "mydomain_modx". This also often applies to database user; although that’s obviously not a problem here, since you are able to connect to the MySQL server.
          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
          • 12872
          • 68 Posts
          yes the database as well as username is created with the prefix such as user01_ .
          Should I specify the username without the prefix user01_ and specify the database name as user01_modx
          will try that and see
            • 28042 ☆ A M B ☆
            • 24,524 Posts
            Whatever username you used is the correct one, otherwise you would not have passed the first step of connecting to the MySQL server.
              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
              • 32699 ☆ A M B ☆
              • 427 Posts
              Quote from: indeman at Mar 14, 2010, 08:44 AM

              I tried installing in 3 different shared hosting spaces and faced similar problems. The database connects but the next step fails during install of beta 5 as well as from svn.

              Are you getting any errors? Are your directories chmod’d correctly?

              Also, make sure you have a user attached to the database. In CPanel you can create databases and NOT have a user attached, therefore you can not login as a user to manipulate it.
                Get your copy of MODX Revolution Building the Web Your Way http://www.sanitypress.com/books/modx-revolution-building-the-web-your-way.html

                Check out my MODX || xPDO resources here: http://www.shawnwilkerson.com
                • 12872
                • 68 Posts
                Quote from: wshawn at Mar 18, 2010, 11:36 AM


                Are you getting any errors?
                The permissions are ok and I created a database as well as attached a user to it.
                But when i use phpMyAdmin I found the following message at the bottom of the screen
                The additional features for working with linked tables have been deactivated. To find out why click here.
                

                And when i click why? I get the following
                Server: localhost
                $cfg['Servers'][$i]['pmadb'] ... 	not OK [ Documentation ]
                $cfg['Servers'][$i]['relation'] ... 	not OK [ Documentation ]
                General relation features: Disabled
                $cfg['Servers'][$i]['table_info'] ... 	not OK [ Documentation ]
                Display Features: Disabled
                $cfg['Servers'][$i]['table_coords'] ... not OK [ Documentation ]
                $cfg['Servers'][$i]['pdf_pages'] ... 	not OK [ Documentation ]
                Creation of PDFs: Disabled
                $cfg['Servers'][$i]['column_info'] ... 	not OK [ Documentation ]
                Displaying Column Comments: Disabled
                Bookmarked SQL query: Disabled
                Browser transformation: Disabled
                $cfg['Servers'][$i]['history'] ... 	not OK [ Documentation ]
                SQL history: Disabled
                $cfg['Servers'][$i]['designer_coords'] ...not OK [ Documentation ]
                Designer: Disabled
                

                could this be a reason why the setup is not able to create database/ work with the database I created ?
                In any case I do not plan to use shared hosting for my website ultimately and I don’t have to solve this problem.
                Am just reporting it in case others face similar issues.