SQL error after installing through 123reg (3 posts)

  1. cptgreenbeard
    Posted 3 years ago #


    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
    Posted 3 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
    Posted 3 years ago #


    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.



Topic Closed

This topic has been closed to new replies.

About this Topic


No tags yet.