• Hi there!

    My blog was located at pamperland.net, however the domain expired and I no longer wish to renew it. I would like to move my blog to theailona.com/blog instead, however I do not have access to my blog’s settings (as the domain has expired).

    With the Codex (https://codex.wordpress.org/Moving_WordPress) I went to the wp_options table via PHPMyAdmin and changed siteurl to the new URL (theailona.com/blog), then copied all of my blog’s files to theailona.com/blog.

    The WordPress Address and Blog Address are stored as siteurl and home (the option_name field).

    Strangely, there is only siteurl listed in the wp_options table. So I assume the error happened because I haven’t changed the Blog Address field.

    The error message when I go to theailona.com/blog:
    Error establishing a database connection

    The error message when I go to theailona.com/blog/wp-admin:
    link

    I should also say that the file folder for pamperland.net is located at public_html/pamperland.net under theailona.com (the same server).

    Solution:
    I changed the DB_USER’s password and it works.

    • This topic was modified 9 years, 4 months ago by theailona.
    • This topic was modified 9 years, 4 months ago by theailona.

The topic ‘Error establishing database connection after moving URLs’ is closed to new replies.