• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
1and1 database

#1
[eluser]Bianca Migueis[/eluser]
hi guys,

im working on this website thats hosted at 1and1.com. I'm using their own database and they give me the hostname, user and batabase info and I just changed the password so I'm sure it's right. however everytime i plug in the information it says
Code:
Parse error: syntax error, unexpected T_STRING, expecting T_OLD_FUNCTION or T_FUNCTION or T_VAR or '}' in /homepages/39/d194325816/htdocs/new/system/core/Config.php on line 279
but it works when i use my localhost database.

my config/database.php is like this
Code:
$active_group = 'default';
$active_record = TRUE;

$db['default']['hostname'] = 'db11111111.db.1and1.com';
$db['default']['username'] = 'dbo11111111';
$db['default']['password'] = '*******';
$db['default']['database'] = 'db11111111';
$db['default']['dbdriver'] = 'mysql';

as I said it works fine on my machine... I even tried putting localhost on the hostname and keeping everything else... am I using the wrong hostname? its what 1and1 gave me...


Messages In This Thread
1and1 database - by El Forum - 10-09-2011, 11:38 AM
1and1 database - by El Forum - 05-02-2012, 06:56 AM

Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2021 MyBB Group.