WordPress.org

Ready to get started?Download WordPress

Forums

SQL error after installing through 123reg (3 posts)

  1. cptgreenbeard
    Member
    Posted 2 years ago #

    Hi,

    Have web hosting through 123reg and installed wordpress through their 123 apps and followed the instructions on how to install, changing the database name etc. But when I try to enter the administrative interface I receive the following error -

    Warning: mysql_connect() [function.mysql-connect]: Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2) in /websites/123reg/LinuxPackage23/no/is/es/noisesurgeon.com/public_html/wordpress/wp-includes/wp-db.php on line 1017
    Error establishing a database connection

    This either means that the username and password information in your wp-config.php file is incorrect or we can't contact the database server at localhost. This could mean your host's database server is down.

    Are you sure you have the correct username and password?
    Are you sure that you have typed the correct hostname?
    Are you sure that the database server is running?

    I have rechecked all the details and everything seems ok

  2. cptgreenbeard
    Member
    Posted 2 years ago #

    To clarify this is when I am trying to run the install script, http://noisesurgeon.com/wordpress/wp-admin/install.php

    Apologies I am a beginner and any help will be appreciated

  3. 123reg
    Member
    Posted 2 years ago #

    Hello,

    My name is Nerys and I work for 123-reg.

    I have seen that you have received some support from our support team for this issue. However if the issue is not resolved and you require further support for this, please update me and I will look further into this for you.

    Regards,

    Nerys

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.