Forums

I attempted WordPress installation on another domain, now error connecting to db (2 posts)

  1. giosceg
    Member
    Posted 3 years ago #

    Hi everyone,
    New to WordPress.
    I purchased a website with a WordPress blog attached.
    I did an installation of WordPress through Fantastico in cPanel on another domain name, but now I cannot log in into anything. The error is: "cannot connect to server database" and and this other message: "Warning: mysql_connect() [function.mysql-connect]: Lost connection to MySQL server during query in /home/londonpe/public_html/conn.php on line 23
    Lost connection to MySQL server during query"

    How to fix this problem?
    I have removed the WordPress installation in my other domain, I still cannot connect into the purchased website with blog attached.

    Thanks for help

  2. flammobammo
    Member
    Posted 3 years ago #

    The database connection details are located in wp-config.php, which is located in the root of your WordPress directory. Are they the correct details for your server?

Topic Closed

This topic has been closed to new replies.

About this Topic