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

    Ok, I know this is a weird question, but let me explain.

    I have client whose website it hosted with godaddy on a shared hosting.
    I have setup her website some time ago and every was fine at that time. Her website is still up and running...


    But here is the problem: If I go to Godaddy admin panel, she doesn’t have a database…. which impossible because modx cannot work without one.


    I called Godaddy customer service: They were not able to find any database… and told me the CMS works without one sad


    So my question is simple: Is there a way to export my database with the manager ?


    Thanks!

    This question has been answered by modxhelp.ru. See the first response.

      Webdesigner and musician.
      • 52064
      • 120 Posts
        FerX - Developer at Eracom s.r.l.
        • 38783
        • 571 Posts
        Although a database export extra might be a solution to the immediate problem, if a hosting company tell you that you have not got a database when you have got one and you are are using it I would be seriously worried.

        I would go back to GoDaddy and tell them that you need control panel (phpMyAdmin or similar) access to the database to be restored. You can tell them the database name and location as this will be stored in the following file.

        /core/config/config.inc.php


        $dbase = 'TheDatabaseNameWillBeHere';
        $table_prefix = 'modx_';
        $database_dsn = 'mysql:host=TheDatabaseLocationWillBeHere;dbname=TheDatabaseNameWillBeHere;charset=utf8';
        
          If I help you out on these forums I would be very grateful if you would consider rating me on Trustpilot: https://uk.trustpilot.com/review/andytough.com

          email: [email protected] | website: https://andytough.com
        • discuss.answer
          • 52243
          • 114 Posts
          Simple: Extras like dbAdmin or BackupMODX
          Advanced: Adminer SQL management tool (its only one php file) https://www.adminer.org for db name/user/password look /core/config/config.inc.php
            • 34197
            • 138 Posts
            Sorry for my late answer!

            @Modxninja your are my hero!

            The manager was not accessible due to an error, frankly I was hopeless...
            I tried you php script, it works like a charm!


            Thanks.
              Webdesigner and musician.