configure to 1and1 (4 posts)

  1. mmmaaarrrccc
    Posted 2 years ago #


    I'm trying to configure y 1and1 account with mysql services and trying to work with work press through my domain.

    I've uploaded the wp-config.php file, but when I try to get my web page, there is a message like this:

    Parse error: syntax error, unexpected '@' in /homepages/3/d512109653/htdocs/wp-config.php on line 25

    I have my password with a @ symbol, so I thought that this was the error. I don't understand if I can have a @ symbol in my password.

    otherwise, i changed mine, but another message appears to me:

    Parse error: syntax error, unexpected '.1' in /homepages/3/d512109653/htdocs/wp-config.php on line 28

    I this because my hostname is: db51799789.db.1and1.com

    I think that the error is because in my hostname has a .1 but... I don't understand why appears that error.

    Can anybody help me please?

    Thank you so much

  2. Keith Driscoll
    Posted 2 years ago #

    Have you taken a look at this http://help.1and1.com/hosting-c37630/linux-c85098/ftp-c37631/manually-install-wordpress-via-ftp-a657587.html

    I also think that 1and1 has a one click installer.

    If you can post the lines of code in question with any sensitive data removed, maybe I or someone else could help a little more :)

  3. mmmaaarrrccc
    Posted 2 years ago #

    Sure. Thank you. The code is:

    // ** Ajustes de MySQL. Solicita estos datos a tu proveedor de alojamiento web. ** //
    /** El nombre de tu base de datos de WordPress */
    define('DB_NAME', ‘dbxxxxxxxxx’);

    /** Tu nombre de usuario de MySQL */
    define('DB_USER', ‘dboxxxxxxxx’);

    /** Tu contraseña de MySQL */
    define('DB_PASSWORD', ’xxxxx@xxxx’);

    /** Host de MySQL (es muy probable que no necesites cambiarlo) */
    define('DB_HOST', 'dbxxxxxxx.1and1.com’);

    /** Codificación de caracteres para la base de datos. */
    define('DB_CHARSET', 'utf8');

    /** Cotejamiento de la base de datos. No lo modifiques si tienes dudas. */
    define('DB_COLLATE', '');

  4. Keith Driscoll
    Posted 2 years ago #

    I would change your MySQL db password inside your 1and1 control panel to remove the '@', it may or may not cause problems depending on a number of things.

    Change the host line to: define('DB_HOST', 'db51799789.db.1and1.com’);

    Good luck :)

Topic Closed

This topic has been closed to new replies.

About this Topic