Ver Mensaje Individual
  #1 (permalink)  
Antiguo 25/02/2010, 18:25
betit0
 
Fecha de Ingreso: febrero-2010
Mensajes: 3
Antigüedad: 14 años, 2 meses
Puntos: 0
[Ayuda] Error al conectar con la base de datos v4.0.2

Antes que nada hola.!
bueno el problema es el siguiente.. no puedo conectarme en este paso con la base da datos, e cambiado el config.php mil veces y nada.. siempre pasa algo.. nosé porque será y algo de seguro estoy haciendo mal.. les dejo el tipo de error y fotografias de los datos del hosting, para que me digan si puede ser que iria en cada lugar, aunque ya e intercambiado todos y no funciona


Cita:
EL PROBLEMA ES EL SIGUIENTE

Attempting to attach to database

Error description: mysql_connect() [function.mysql-connect]: Access denied for user 'a4495067_igroup'@'srv40.000webhost.com' (using password: YES) /home/a4495067/public_html/includes/class_core.php on line 312

The database has failed to connect because you do not have permission to connect to the server. Please confirm the values entered in the 'includes/config.php' file.





BUENO AHI ESTA TODO.. acá abajo les dejo como tengo configurado el config.php a ver si tambien les sirve para poder ayudarme


Cita:
// ****** DATABASE NAME ******
// This is the name of the database where your vBulletin will be located.
// This must be created by your webhost.
$config['Database']['dbname'] = 'a4495067_foro';

// ****** TABLE PREFIX ******
// Prefix that your vBulletin tables have in the database.
$config['Database']['tableprefix'] = '';

// ****** TECHNICAL EMAIL ADDRESS ******
// If any database errors occur, they will be emailed to the address specified here.
// Leave this blank to not send any emails when there is a database error.
$config['Database']['technicalemail'] = '[email protected]';

// ****** FORCE EMPTY SQL MODE ******
// New versions of MySQL (4.1+) have introduced some behaviors that are
// incompatible with vBulletin. Setting this value to "true" disables those
// behaviors. You only need to modify this value if vBulletin recommends it.
$config['Database']['force_sql_mode'] = false;



// ****** MASTER DATABASE SERVER NAME AND PORT ******
// This is the hostname or IP address and port of the database server.
// If you are unsure of what to put here, leave the default values.
$config['MasterServer']['servername'] = '66.96.196.245';
$config['MasterServer']['port'] = 3306;

// ****** MASTER DATABASE USERNAME & PASSWORD ******
// This is the username and password you use to access MySQL.
// These must be obtained through your webhost.
$config['MasterServer']['username'] = 'a4495067_igroup';
$config['MasterServer']['password'] = '*******';

espero que alguien me ayude!
desde ya, gracias.