• Resolved derTimme

    (@dertimme)


    Soo. my problem is the following:

    i recently decided to buy a top level domain (which happens to be timme.cc) at domainfactory.

    Now i wanted to transfer my existing wordpress blog to the new webspace.
    As i was instructed i downloaded the whole site via ftp, saved it, logged in to the admin menu and changed the website address in the general options tab, then saved the whole database, uploaded the database on my new host and changed the wp-config.php as follows:

    /** The name of the database for WordPress */
    define('DB_NAME', 'db306XXX');
    
    /** MySQL database username */
    define('DB_USER', 'db306XXX');
    
    /** MySQL database password */
    define('DB_PASSWORD', 'my password');
    
    /** MySQL hostname */
    define('DB_HOST', 'mysql.news.timme.cc');

    news is the subdomain where ive placed my blog.

    then i uploaded everything to news.timme.cc but somehow (i thought i had done everything right) it does not work:
    Error establishing a database connection

    Has someone got any idea whot might have gone wrong?

    Thank you in advance,
    timme

Viewing 5 replies - 1 through 5 (of 5 total)
  • sounds like you need to import the spl db into its new location. if you have a backup from your old site that generates a .sql file… then that is what you need to import into your new database location. you may need to talk to your new isp support people to give you access if you are not supplied with tools to do so.

    Thread Starter derTimme

    (@dertimme)

    i already did that, when i wrote “uploaded everything” i basically meant the files via ftp and import the old database via sqladmin.

    thats not it 🙁

    PS: before someone comes up with that, i already tried both
    define('DB_HOST', 'mysql.timme.cc');
    and
    define('DB_HOST', 'mysql.news.timme.cc');
    and also mysl4 and mysql5…

    /** MySQL hostname */
    define(‘DB_HOST’, ‘192.168.0.1’);

    this was for a db server behind the firewall…
    try using the ip address….

    Thread Starter derTimme

    (@dertimme)

    192.168.0.1 does not work
    neither does 127.0.0.3 (which is displayed in the phpmyadmin panel)

    is there maybe something about chmod or .htaccess or has that nothing to do with my case?

    Thread Starter derTimme

    (@dertimme)

    Ok, ive got it!
    I just used the Script to install wordpress which was offered by the hosting company and installed it online with another prefix (del_) into the same database, then i copied the new automatically created wp-config from the server to the hard drive, just changed the del_ to wp_ and now it works.

    ftr: it had to be mysql5.timme.cc – i dont really know why it did not worked out before, maybe i had the wrong username or something…

    thanks anyway!

Viewing 5 replies - 1 through 5 (of 5 total)

The topic ‘Moving WordPress to new server’ is closed to new replies.