Support » Installing WordPress » configure to 1and1

  • Hi,

    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:

    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

Viewing 3 replies - 1 through 3 (of 3 total)
  • Have you taken a look at this

    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 🙂

    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’, ‘’);

    /** 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’, ”);

    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', '’);

    Good luck 🙂

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘configure to 1and1’ is closed to new replies.